1 2008-04-30 Alan McGovern <alan.mcgovern@gmail.com>
3 * SHA384Managed.cs: Inlined helper methods and made
4 some fields local vars. Gives about 1.70x faster performance.
6 2008-04-30 Alan McGovern <alan.mcgovern@gmail.com>
8 * SHA256Managed.cs: Inlined helper methods removed
9 unnecessary casts and made a field a local var.
10 Gives about 1.70x faster performance.
12 2008-04-27 Alan McGovern <alan.mcgovern@gmail.com>
14 * SHA1CryptoServiceProvider.cs: Performed loop unrolling and
15 re-rolling to reduce IL size significantly and improve
18 2008-04-27 Sebastien Pouliot <sebastien@ximian.com>
20 * SHA1CryptoServiceProvider.cs: Quick optimization to get better
21 results with the JIT (a bit over 25% on a 4GB file).
23 2008-04-17 Sebastien Pouliot <sebastien@ximian.com>
25 * AsymmetricAlgorithm.cs: Add shared GetNamedParam helper method.
26 * DSA.cs, RSA.cs: Rework FromXmlString to be more "careless" like
27 MS implementation. Fix #355464
29 2008-02-21 Sebastien Pouliot <sebastien@ximian.com>
31 * Rfc2898DeriveBytes.cs: Fix GetByte not to throw an exception if
32 called several time to get more data.
34 2008-01-31 Sebastien Pouliot <sebastien@ximian.com>
36 * CryptoConfig.cs: Inverse name and oid when reading them from
37 machine.config. Part of the fix for #346536
39 2007-08-17 Sebastien Pouliot <sebastien@ximian.com>
41 * CryptoStream.cs: Write cannot depend on buffer.Length (fix #82428)
43 2007-05-16 Sebastien Pouliot <sebastien@ximian.com>
45 * CryptoStream.cs: Fix another problem that can occurs with WriteByte.
47 2007-05-11 Sebastien Pouliot <sebastien@ximian.com>
49 * CryptoStream.cs: Ensure TransformFinalBlock isn't called multiple
50 times. Fix bug #81597.
52 2007-05-10 Sebastien Pouliot <sebastien@ximian.com>
54 * SHA1CryptoServiceProvider.cs: Reduce by half the number of required
55 memory allocations to produce a hash (in >90% of the cases) by reusing
56 an existing memory buffer (instead of always allocating a new one).
58 2007-05-08 Randolph Chung <tausq@debian.org>
60 * DSACryptoServiceProvider.cs: Implement the ImportCspBlob and
61 ExportCspBlob methods by calling into CryptoConvert.
63 2007-04-03 Alp Toker <alp@atoker.com>
65 * CryptoConfig.cs: CreateFromName(string,object[]) is params in 2.0.
67 2007-03-28 Sebastien Pouliot <sebastien@ximian.com>
69 * RIPEMD160Managed.cs: Fix endian issue (take good code path).
71 2007-03-22 Sebastien Pouliot <sebastien@ximian.com>
73 * CryptoConfig.cs: Names are case-insensitive only since fx 2.0.
74 * CryptoStream.cs: 2.0 introduce different exceptions/behaviors in
76 * PasswordDeriveBytes.cs: Reset method was fixed in fx 2.0.
77 * Rfc2898DeriveBytes.cs: Fixed endian bug in F (thanks to Roei Erez)
78 and reduced the number of memory allocations.
80 2007-03-05 Sebastien Pouliot <sebastien@ximian.com>
82 * CryptoStream.cs: Rework Write to buffer the last block correctly.
83 The new code also reduce memory allocations. Fix for #81008.
85 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
87 * HMAC.cs: Handle BlockSizeValue correctly.
88 * HMACSHA384.cs: Add support for forthcoming ProduceLegacyHmacValues
89 property (in the next service pack).
90 * HMACSHA512.cs: Add support for forthcoming ProduceLegacyHmacValues
91 property (in the next service pack).
93 2007-01-22 Atsushi Enomoto <atsushi@ximian.com>
95 * CryptoConfig.cs: Fixed incorrect exchange in urlExcC14N and
96 urlExcC14NWithComments.
98 2006-11-24 Sebastien Pouliot <sebastien@ximian.com>
100 * CryptoConfig.cs: Add support for (2.0) custom X.509 chains.
102 2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
104 * CryptoConfig.cs: Add support for (2.0) X.509 extensions in
105 CreateFromName method. This allows the framework to be extensible with
106 new certificate extensions (syntax is missing from machine.config).
108 2006-10-12 Sebastien Pouliot <sebastien@ximian.com>
110 * CryptoConfig.cs: Use SmallXmlParser with a custom handler to reduce
111 memory requirements to process machine.config. Fix #79653 (beagle).
113 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
115 * CryptoConfig.cs: Accept lower/mixed-case algorithm names in
116 CreateFromName and MapNameToOID methods (fix bug #79641). Removed OID
117 mappings in 2.0 for DSA and 3DES (they were part of the betas but not
118 in the final 2.0 release of the framework).
120 2006-09-20 Kazuki Oikawa <kazuki@panicode.com>
122 * RijndaelManaged.cs: improves the performance.
124 2006-09-08 Sebastien Pouliot <sebastien@ximian.com>
126 * RSAOAEPKeyExchangeDeformatter.cs: Throw a CryptographicException,
127 instead of returning null, when a padding error occurs on decryption.
128 * RSAPKCS1KeyExchangeDeformatter.cs: Throw a CryptographicException,
129 instead of returning null, when a padding error occurs on decryption.
131 2006-07-01 Sebastien Pouliot <sebastien@ximian.com>
133 * AsymmetricSignatureDeformatter.cs: Set the hash algorithm name from
134 the hash instance. Fix for bug #78744 by Diego Mesa Tabares.
136 2006-06-15 Sebastien Pouliot <sebastien@ximian.com>
138 * HashAlgorithm.cs: Changed the order of BlockCopy + HashCore to
139 HashCore + BlockCopy. Fx 2.0 now allows using a null output buffer
140 (without exception) while previous 1.x versions crashed the runtime
141 (mono won't crash the runtime, so we always do like 2.0).
143 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
145 * AsymmetricKeyExchangeDeformatter.cs: Under 2.0 the ctor is
147 * AsymmetricKeyExchangeFormatter.cs: Under 2.0 the ctor is protected.
148 * AsymmetricSignatureDeformatter.cs: Under 2.0 the ctor is protected.
149 * AsymmetricSignatureFormatter.cs: Under 2.0 the ctor is protected.
150 * DES.cs: Under 2.0 the ctor is protected.
151 * HashAlgorithm.cs: Under 2.0 the HashValue field is protected
153 * RandomNumberGenerator.cs: Under 2.0 the ctor is protected.
154 * RC2.cs: Under 2.0 the ctor is protected.
155 * Rijndael.cs: Under 2.0 the ctor is protected.
156 * RSA.cs: Under 2.0 the ctor is protected.
157 * SHA256.cs: Under 2.0 the ctor is protected.
158 * SHA384.cs: Under 2.0 the ctor is protected.
159 * SHA512.cs: Under 2.0 the ctor is protected.
160 * SymmetricAlgorithm.cs: Under 2.0 the ctor is protected.
161 * TripleDES.cs: Under 2.0 the ctor is protected.
163 2006-02-03 Zoltan Varga <vargaz@gmail.com>
165 * CryptoStream.cs: Add 'override' keyword to Dispose (bool) method in 2.0.
167 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
169 * SymmetricAlgorithm.cs: Changing (not setting) BlockSize must
170 re-generate a new IV (so the properties are kept valid). Note that
171 changing or setting (same value) the KeySize always re-generate a key.
173 2005-12-01 Sebastien Pouliot <sebastien@ximian.com>
175 * RIPEMD160Managed.cs: Endianess fix.
177 2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
179 * DSAManaged.cs: Don't output J in the XML if it's not exported (i.e.
180 if it wasn't imported too but instead calculated from the other
183 2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
185 * KeyNumber.cs: Added missing [Serializable] present in 2.0.
187 2005-10-21 Sebastien Pouliot <sebastien@ximian.com>
189 * DESCryptoServiceProvider.cs: Don't change the instance key/iv when
190 creating an encryptor or decryptor specifying them. Generate a new key
191 if null is specified (not really useful but compatible with MS
192 behaviour). Check for weak/semi-weak key when creating transforms.
193 * RC2CryptoServiceProvider.cs: Don't change the instance key/iv when
194 creating an encryptor or decryptor specifying them. Check legal key
195 sizes when creating transforms.
196 * RijndaelManaged.cs: Don't change the instance key/iv when creating
197 an encryptor or decryptor specifying them. Check legal key sizes when
199 * TripleDESCryptoServiceProvider.cs: Don't change the instance key/iv
200 when creating an encryptor or decryptor specifying them. Generate a
201 new key if null is specified (not really useful but compatible with MS
202 behaviour). Check for weak key when creating transforms.
204 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
206 * HMACSHA1.cs: Added the new 2.0 ctor that let the programmer choose
207 between the managed and unmanaged SHA1 algorithm used in the HMAC
208 (that doesn't change much thing in the default config for Mono).
209 * PasswordDeriveBytes.cs: Added [Obsolete] on GetBytes (2.0) as new
210 applications should be using Rfc2898DeriveBytes to get PKCS#5 v2
213 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
215 * FromBase64Transform.cs: Check that the TransformFinal can be called
216 with only whitespace (with FromBase64TransformMode.IgnoreWhiteSpaces)
217 so that we must return new byte [0].
219 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
221 * FromBase64Transform.cs: Removed memory allocations during the
222 transform. It's now just the accumulator (ctor) and the
223 TransformFinalBlock that allocates memory. The transform is now
224 between 3 to 4 times faster than before.
226 2005-06-10 Sebastien Pouliot <sebastien@ximian.com>
228 * all: 2.0 beta2 fixes, i.e. mostly added [ComVisible(true)]
230 2005-06-09 Sebastien Pouliot <sebastien@ximian.com>
232 * HMAC.cs: BlockSizeValue has changed from a protected member to
233 a protected property.
235 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
237 * CspProviderFlags.cs: UseExistingKey was added in 1.1 SP1. Added
238 ComVisible attribute for 2.0.
240 2005-05-19 Sebastien Pouliot <sebastien@ximian.com>
242 * CryptoConfig.cs: Don't use the global hashtables until the
243 initialization is complete.
245 2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
247 * CryptoConfig.cs: Changed lock pattern to second version of
248 http://www.skeet.org.uk/csharp/singleton.html
250 2005-05-16 Sebastien Pouliot <sebastien@ximian.com>
252 * CryptoConfig.cs: Initialization wasn't threadsafe as the "checked"
253 value was assigned at the start of the initialization.
255 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
257 * CryptoConfig.cs: Removed RSA OID and added null check in EncodeOID
258 in NET_2_0 to match beta2.
259 * DES.cs: Added null check for IsWeakKey and IsSemiWeakKey in NET_2_0
261 * SymmetricAlgorithm.cs: Throw CryptographicException when feedback is
262 zero in NET_2_0 to match beta2
263 * TripleDES.cs: Added null check for IsWeakKey in NET_2_0 to match
266 2005-04-05 Sebastien Pouliot <sebastien@ximian.com>
268 * CryptoConfig.cs: Added Assert for FileIOPermission to LoadConfig so
269 the configuration can be read under partial trust.
271 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
273 * CryptoConfig.cs: Added LinkDemand for unrestricted to CreateFromName
274 when used to create instance with object[] parameters.
275 * CryptoAPITransform.cs: Added Demand for UnmanagedCode to KeyHandle
278 2005-03-07 Sebastien Pouliot <sebastien@ximian.com>
280 * MD5CryptoServiceProvider.cs: Fixed #73404 to return right results
281 if the data length is bigger than 2^32 bits.
282 * SHA1CryptoServiceProvider.cs: Fixed #73404 to return right results
283 if the data length is bigger than 2^32 bits.
284 * SHA256Managed.cs: Fixed #73404 to return right results if the data
285 length is bigger than 2^32 bits.
287 2005-03-03 Sebastien Pouliot <sebastien@ximian.com>
289 * RNGCryptoServiceProvider.cs: Added a new call in the static ctor
290 to check if we're using a global handle. In that case we lock before
293 2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
295 * DSA.cs: Weekly fix to case where DSAParameters.Counter is 0 :-(
296 A new unit test was added for this specific case so it's hopefully
297 the last fix for this. Fixed exception reporting to match NET_2_0.
299 2005-01-30 Sebastien Pouliot <sebastien@ximian.com>
301 * DSA.cs: Really fixed case where DSAParameters.Counter is 0.
303 2005-01-21 Sebastien Pouliot <sebastien@ximian.com>
305 * DSA.cs: Handle the case where DSAParameters.Counter is 0.
307 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
309 * CryptoConfig.cs: Added support to create RIPEMD160 and the new HMAC
310 algorithms (HMACMD5, HMACRIPEMD160, HMACSHA256, HMACSHA384 and
311 HMACSHA512). This fix the unit tests failures in Mono.Security.dll in
313 * DSACryptoServiceProvider.cs: Import|ExportCspBlob throws
314 NotImplementedException (CryptoConvert class doesn't support DSA yet).
315 * RSACryptoServiceProvider.cs: SignHash/VerifyHash defaults to SHA-1
316 in 2.0. VerifyHash throw appropriate exception when no OID is
317 specified (1.0/1.1). Import|ExportCspBlob implemented using the
319 * RSAOAEPKeyExchangeDeformatter.cs: Throw exception if no key is
321 * RSAOAEPKeyExchangeFormatter.cs: Throw exception if no key is
323 * RSAPKCS1KeyExchangeFormatter.cs: Throw exception if no key is
325 * SymmetricAlgorithm.cs: More strict IV length checks on 2.0.
327 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
329 * CryptoConfig.cs: Change the OID for SHA-2 algorithms to match 2.0
330 and added new OID for asymmetric and symmetric algorithms.
331 * CspKeyContainerInfo.cs: Added CryptoKeySecurity property. This will
332 always return null until we support access control for key containers.
333 * CspParameters.cs: Added new constructors and propertys for access
334 control and password (2.0).
335 * DSASignatureDeformatter.cs: Throw ArgumentNullException in NET_2_0
336 if a null key is specified.
337 * DSASignatureFormatter.cs: Throw ArgumentNullException in NET_2_0 if
338 a null key is specified.
339 * HashAlgorithm.cs: Fix the reported exceptions for output buffers.
340 * HMAC.cs: Change the .Clear (which calls Dispose) to a .Initialize.
341 * MACTripleDES.cs: Removed unrequired private field _padding.
342 * PasswordDeriveBytes.cs: Added 4 new constructors where the password
343 is a byte[] (as it seems MS won't be using SecureString for this).
344 * RIPEMD160Managed.cs: Removed overriden Dispose method to match 2.0.
345 Clear buffers when initializing (e.g. re-using the hash instance).
346 * Rfc2898DeriveBytes.cs: Added a new constructor where the password
347 is a byte[] (as it seems MS won't be using SecureString for this).
348 * RSAPKCS1SignatureDeformatter.cs: Throw ArgumentNullException in
349 NET_2_0 if a null key is specified.
350 * RSAPKCS1SignatureFormatter.cs: Throw ArgumentNullException in
351 NET_2_0 if a null key is specified.
352 * ToBase64Transform.cs: Fix the reported exceptions for output buffers.
354 2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
356 * DES.cs: Change wek and semi-weak key checking to avoid memory
357 allocations. Old version required 2 allocations (weak+semiweak) to
358 unpack the key. New versions are 16x-20x faster.
359 * RijndaelManaged.cs: Removed unrequired "& 0xff" when casting to
362 2005-01-03 Sebastien Pouliot <sebastien@ximian.com>
364 * DESCryptoServiceProvider.cs: Refactored ECB/ProcessBlock to allow
365 TripleDES to be more efficient by using the permutations itself.
366 * TripleDESCryptoServiceProvider.cs: Removed memory allocation in
367 Transform's ECB method. Changed code to directly call DES's
368 permutations. MACTripleDES is now 20% faster (didn't have any other
369 3DES benchmark on hand) and requires much less memory.
371 2005-01-03 Sebastien Pouliot <sebastien@ximian.com>
373 * DESCryptoServiceProvider.cs: Now using pre-computed tables (instead
374 of using a static constructor to compute them). Not much change
375 performance-wise unless you used DES but only "a little" ;-). The old
376 code (who computed the results) is still present but commented,
378 2005-01-02 Sebastien Pouliot <sebastien@ximian.com>
380 * SHA1CryptoServiceProvider.cs: Removed memory allocation in
381 ProcessBlock method (now global). This gives up to 8% performance
382 increase when multiple blocks are being used.
383 * SHA256Managed.cs: Removed memory allocation in ProcessBlock method
384 (now global). This gives up to 5% performance increase when multiple
385 blocks are being used.
387 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
389 * DataProtectionScope.cs: Moved in System.Security.dll
390 * MemoryProtectionScope.cs: Moved in System.Security.dll
391 * ProtectedData.cs: Moved in System.Security.dll
392 * ProtectedMemory.cs: Moved in System.Security.dll
394 2004-12-22 Sebastien Pouliot <sebastien@ximian.com>
396 * RSA.cs: Throw the proper CryptographicException exception when
397 exporting a private key without CRT parameters, while keeping the
398 ArgumentNullException when the private exponent (D) is missing.
400 2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
402 * RSACryptoServiceProvider.cs: Adjust DecryptValue to the fact that
403 Mono's RSAManaged support decryption without CRT while MS requires it.
405 2004-11-26 Sebastien Pouliot <sebastien@ximian.com>
407 * CryptoAPITransform.cs:
408 * DSACryptoServiceProvider.cs:
410 * RC2CryptoServiceProvider.cs:
411 * RSACryptoServiceProvider.cs:
412 Added ComVisible attributes to match 2.0 October Preview.
414 2004-11-03 Sebastien Pouliot <sebastien@ximian.com>
416 * PasswordDeriveBytes.cs: Fix default iretation count to 100. Fix
417 exceptions to match MS more closely. Fixed possible ArgumentException
418 when asking multiple GetBytes than results in more bits than the hash
419 function can provide.
421 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
423 * DESCryptoServiceProvider.cs: Fixed warning (l4) by adding empty {}.
424 * DSASignatureDeformatter.cs: Fixed warning (l4) for unused variable.
425 * DSASignatureFormatter.cs: Fixed warning (l4) for unused variable.
426 * HMACSHA1.cs: Fixed warning (l4) for unused variable.
428 2004-09-03 Tim Coleman (tim@timcoleman.com)
430 * CryptoConfig.cs: Add new Xml cryptography class info.
432 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
434 * CspProviderFlags.cs: Fixed new enums values.
435 * DSA.cs: Fixed #if for constructor visibility.
436 * CryptoAPITransform.cs: Removed constructor for NET_2_0 profile.
438 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
440 * DES.cs: Fixed FeedbackSizeValue to 8.
441 * RC2.cs: Fixed FeedbackSizeValue to 8.
442 * RC2CryptoServiceProvider.cs: When key size is different from
443 effective key size we throw CryptographicUnexpectedOperationException.
444 * TripleDES.cs: Fixed FeedbackSizeValue to 8.
446 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
448 * CryptoAPITransform.cs: Added the new Reset method for NET_2_0. This
449 is a NOP as this class isn't used by Mono (all crypto transforms are
451 * CryptographicException.cs: Added _Exception interface for NET_2_0
453 * CspProviderFlags.cs: Added new enum's members for NET_2_0.
454 * DSA.cs: Changed constructor to protected for NET_2_0. It is now
455 possible to inherit from DSA in other assemblies.
456 * DSACryptoServiceProvider.cs: NET_2_0 cleanup. Added interface
457 ICspAsymmetricAlgorithm (stub), removed (unrequired) LegalKeySizes
458 override, fixed visibility of PublicOnly property.
459 * HMACSHA1.cs: Fixed #if for NET_2_0 profile.
460 * KeyNumber.cs: Fixed values for new enum in Fx 2.0.
461 * MACTripleDES.cs: Added new Padding property to NET_2_0 profile.
462 * ProtectedData.cs: Added missing private constructor.
463 * ProtectedMemory.cs: Added missing private constructor.
464 * RC2CryptoServiceProvider.cs: Added UseSalt property to NET_2_0
465 profile. Salt usage must be added to the transforms.
466 * RIPEMD160Managed.cs: Removed unrequired [CLSCompliant] attributes.
467 * RSACryptoServiceProvider.cs: NET_2_0 cleanup. Added interface
468 ICspAsymmetricAlgorithm (stub), fixed visibility of PublicOnly
470 * RijndaelManaged.cs: Use the new RijndaelManagedTransform for Fx 2.0.
471 * RijndaelManagedTransform.cs: New. Class is now public in Fx 2.0.
473 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
475 * CryptoStream.cs: Removed the block reduction. This seems to be done
476 only for Decryptor so it was moved to SymmetricTransform.
478 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
480 * SignatureDescription.cs: Implemented .ctor(SecurityElement) using
481 documentation from VS.NET 2005.
483 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
485 * ToBase64Transform.cs: Uncomment finalizer to fix public API
488 2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
490 * CspProviderFlags.cs: Reverted previous patch as UseExistingKey isn't
491 part of the 1.0/1.1 framework.
493 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
495 * CspProviderFlags.cs: Added missing enum field UseExistingKey
497 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
499 * HashAlgorithm.cs: Added missing exception handling to ComputeHash,
500 TransformBlock and TransformFinalBlock.
502 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
504 * CryptoStream.cs: Fixed possible integer overflow.
505 * FromBase64Transform.cs: Better exception handling and fixed possible
507 * RNGCryptoServiceProvider.cs: Changed RNG interface with the runtime
508 so it could be used in a thread-safe way with CryptoAPI.
509 * ToBase64Transform.cs: Better exception handling and fixed possible
512 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
514 * CipherMode.cs: Moved XML comments to monodoc.
515 * CryptoConfig.cs: Changed Array.Copy to Buffer.BlockCopy.
516 * CryptoStream.cs: Changed Array.Copy to Buffer.BlockCopy.
517 * DSA.cs: Changed Array.Copy to Buffer.BlockCopy.
518 * DSACryptoServiceProvider.cs: Fixed SignData to hash data before
519 signing it (thanks to Jens Thiel for spotting this).
520 * ICryptoTransform.cs: Moved XML comments to monodoc.
521 * PasswordDeriveBytes.cs: Changed Array.Copy to Buffer.BlockCopy.
522 * FromBase64Transform.cs: Moved XML comments to monodoc.
523 * RSACryptoServiceProvider.cs: Fixed OID related exception in SignData.
524 * ToBase64Transform.cs: Input block may be smaller than a full block
525 when calling TransformFinalBlock (fix 2 CryptoStream unit tests).
527 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
529 * RSAOAEPKeyExchangeDeformatter.cs: Fixed wrt completed unit tests.
530 * RSAOAEPKeyExchangeFormatter.cs: Fixed wrt completed unit tests.
531 * RSAPKCS1KeyExchangeDeformatter.cs: Fixed wrt completed unit tests.
532 Added globalization to exceptions.
533 * RSAPKCS1KeyExchangeFormatter.cs: Fixed wrt completed unit tests.
534 * RSAPKCS1SignatureDeformatter.cs: Fixed wrt completed unit tests.
535 Added globalization to exceptions.
536 * RSAPKCS1SignatureFormatter.cs: Fixed wrt completed unit tests.
537 Added globalization to exceptions.
539 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
541 * RC2.cs: Fixed KeySize to change it's value and the EffectiveKeySize
542 when the key is changed.
543 * RC2CryptoServiceProvider.cs: Added globalization to exceptions.
544 Fixed the KeySize must be equal with EffectiveKeySize to match MS
546 * Rijndael.cs: Source clean up.
547 * RijndaelManaged.cs: Moved XML comments to monodoc. Added
548 globalization to exceptions.
549 * RNGCryptoServiceProvider.cs: Removed TODO and documented them in
550 mono doc. Now call runtime when a seed is provided.
551 * RSA.cs: Added globalization to exceptions. Removed check for
552 <RSAKeyValue> as it is not checked by MS implementation.
553 * SHA1.cs: Moved XML comments to monodoc.
554 * SHA1CryptoServiceProvider.cs: Moved XML comments to monodoc. Removed
555 CLSCompliance attributes from private fields.
556 * SHA256.cs: Moved XML comments to monodoc.
557 * SHA256Managed.cs: Moved XML comments to monodoc. Removed
558 CLSCompliance attributes from private fields.
559 * SHA384.cs: Moved XML comments to monodoc.
560 * SHA512.cs: Moved XML comments to monodoc.
561 * SignatureDescription.cs: Moved XML comments to monodoc. Added
562 globalization to exceptions. Removed TODO and added notes to monodoc.
563 * SymmetricAlgorithm.cs: Moved XML comments to monodoc. Added
564 globalization to exceptions.
565 * ToBase64Tranform.cs: Added missing exception handling. Moved XML
567 * TripleDES.cs: Added globalization to exceptions.
568 * TripleDESCryptoServiceProvider.cs: Changed Array.Copy to
569 Buffer.BlockCopy. Zeroize decrypted data.
571 2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
573 * HashAlgorithm.cs: Moved XML comments to monodoc. Added globalization
575 * KeyedHashAlgorithm.cs: Added globalization to exceptions.
576 * KeySizes.cs: Moved XML comments to monodoc.
577 * MaskGenerationMethod.cs: Source clean up.
578 * MD5.cs: Moved XML comments to monodoc.
579 * MD5CryptoServiceProvider.cs: Removed CLSCompliance attributes from
580 private fields. Changed constants from enum to array. Zeroize data on
582 * PaddingMode.cs: Moved XML comments to monodoc.
583 * PasswordDeriveBytes.cs: Added globalization to exceptions. Removed
584 TODO and documented as "not supported" in MonoDoc.
585 * RandomNumberGenerator.cs: Source clean up.
587 2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
589 * DSACryptoServiceProvider.cs: Added globalization to exceptions.
590 * HMACSHA1.cs: Cleanup.
591 * SHA1CryptoServiceProvider.cs: Removed unused private methods.
592 * SHA1Managed.cs: Removed unused private methods.
593 * SHA384Managed.cs: Don't zeroize buffer on first initialization.
594 * SHA512Managed.cs: Don't zeroize buffer on first initialization.
596 2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
598 * Base64Constants.cs: New. Convert code into tables for better base64
600 * FromBase64Transform.cs: Updated to use the new tables. Source code
602 * SHA256Managed.cs: Updated to use shared constants.
603 * SHA384Managed.cs: Updated to use shared constants.
604 * SHA512Managed.cs: Updated to use shared constants.
605 * SHAConstants.cs: New. Shared constants for SHA implementations.
606 * ToBase64Transform.cs: Updated to use the new tables. Added
607 globalization. Commented finalizer as it isn't required in this case.
609 2004-05-03 Sebastien Pouliot <sebastien@ximian.com>
611 * CryptoConfig.cs: Specify version and public key token when loading
612 System.Security.dll for XML Digital Signature classes.
614 2004-04-29 Ben Maurer <bmaurer@users.sourceforge.net>
617 * DESCryptoServiceProvider.cs:
618 * RC2CryptoServiceProvider.cs:
619 * RijndaelManaged.cs:
622 * ToBase64Transform.cs:
625 2004-04-29 Sebastien Pouliot <sebastien@ximian.com>
627 * DES.cs: Removed redundant weak/semi-weak key check in Key property.
628 * DESCryptoServiceProvider.cs: Implementation already had 100%
631 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
633 * DSACryptoServiceProvider.cs: Changed delegate signature.
634 * RSACryptoServiceProvider.cs: Changed delegate signature.
636 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
638 * DSA.cs: Moved XML comments to monodoc. Added globalization to
639 exceptions. Already had 100% coverage.
640 * DSAParameters.cs: Moved XML comments to monodoc.
641 * DSASignatureDeformetter.cs: Added globalization to exceptions.
642 Limited catch to expected exception. Already had 100% coverage.
643 * DSASignatureFormatter.cs: Added globalization to exceptions. Limited
644 catch to expected exception. Already had 100% coverage.
646 2004-04-26 Sebastien Pouliot <sebastien@ximian.com>
648 * AsymmetricAlgorithm.cs: Moved XML comments to monodoc. Added
649 globalization to exceptions. Already had 100% coverage.
650 * AsymmetricKeyExchangeDeformatter.cs: Moved XML comments to monodoc.
651 Already had 100% coverage.
652 * AsymmetricKeyExchangeFormatter.cs: Moved XML comments to monodoc.
653 Already had 100% coverage.
654 * AsymmetricSignatureDeformatter.cs: Moved XML comments to monodoc.
655 Already had 100% coverage.
656 * AsymmetricSignatureFormatter.cs: Moved XML comments to monodoc.
657 Already had 100% coverage.
658 * CryptoAPITransform.cs: Unused by Mono (added note to monodoc).
659 Class will stay at 0% coverage.
660 * CryptoConfig.cs: Added globalization to exceptions. 98% coverage.
661 * CryptographicException.cs: Added globalization to exceptions.
662 Already had 100% coverage.
663 * CryptoStream.cs: Added globalization to exceptions. Removed (unused)
664 field _previousBlock to get 100% coverage.
665 * CspParameters.cs: Moved XML comments to monodoc. Already had 100%
667 * CspProviderFlags.cs: Moved XML comments to monodoc.
668 * DeriveBytes.cs: Moved XML comments to monodoc. Already had 100%
670 * DES.cs: Fixes to weak/semi-weak checking to pass new unit tests (it
671 requires to set odd parity on keys before comparing).
673 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
675 * DSACryptoServiceProvider.cs: Call invariant compare
677 2004-04-08 Bernie Solomon <bernard@ugsolutions.com>
679 * DSA.cs: Use Mono.Security.BitConverterLE
681 2004-04-05 Bernie Solomon <bernard@ugsolutions.com>
683 * DESCryptoServiceProvider.cs: Use BitConverter.IsLittleEndian
684 to fix for big endian machines.
686 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
688 * FromBase64Transform.cs: Now throws ObjectDisposedException and
689 return true for CanReuseTransform (as MS implementation).
691 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
693 * DSA.cs : fixed incorrectly modified catch for debugging.
695 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
697 * DSA.cs : In ToXmlString(), sequence of Seed and PgenCounter is
700 2004-02-26 Sebastien Pouliot <sebastien@ximian.com>
702 * DES.cs: Same fix as for SymmetricAlgorithm (get_Key is
703 overridden to check for weak keys). Also ensured that no weak keys
705 * SymmetricAlgorithm.cs: Return a copy of the key (and IV) so it
706 doesn't get destroyed when dispose is called (in this case the key
707 zeroization is the caller's responsability). Match MS implementation.
708 * TripleDES.cs: Same fix as for SymmetricAlgorithm (get_Key is
709 overridden to check for weak keys). Fix bugzilla #54868.
711 2004-02-12 Sebastien Pouliot <sebastien@ximian.com>
713 * CryptoStream.cs: Remove the _blockSize assumptions because some
714 Transforms could be different on Input/Output. Added a special case
715 for cascading CryptoStreams in FlushFinalBlock.
717 2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
719 * DSACryptoServiceProvider.cs: Fixed support for key pair persistence.
720 It now requires (like MS) to call Clear to delete an existing
721 container. PersistKeyInCsp default value also changes if a
722 CspParameters is supplied (or not) to the constructor.
723 * RSACryptoServiceProvider.cs: Same fixes as DSA.
724 * SymmetricAlgorithm.cs: Reintroduced the patch from 2003-08-24 to fix
725 IV length exception for stream ciphers (e.g. RC4). I overwrote it by
726 accident some time ago :(
728 2004-02-08 Sebastien Pouliot <sebastien@ximian.com>
730 * HashAlgorithm.cs: Changed the ComputeHash(Stream) method to (a) not
731 allocate the whole stream memory (big memory saver as suggested by
732 Peter Williams in bugzilla entry #54022) and (b) to never use Stream.
733 Length and Stream.Position because they aren't implemented for every
734 stream class (similar issue to the CryptoStream patch).
735 * MD5CryptoServiceProvider.cs: Moved a buffer allocation from
736 ProcessBlock to constructor to reduce memory allocation. Optimization
737 suggested by Peter Williams in bugzilla entry #54024.
739 2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
741 * DSACryptoServiceProvider.cs: Added keypair persistence support.
742 Corrected dispose so object cannot be disposed multiple time. Added
743 PublicOnly property (as internal before 1.2, public after).
744 * RSACryptoServiceProvider.cs: Added keypair persistence support.
745 Corrected dispose so object cannot be disposed multiple time. Added
746 PublicOnly property (as internal before 1.2, public after).
747 * SymmetricAlgorithm.cs: Removed class SymmetricTransform from file
748 and moved it to Mono.Security.Cryptography namespace. The transform
749 class will also be included in Mono.Security assembly.
751 2004-02-06 David Sheldon <dave-mono@earth.li>
753 * FromBase64Transform.cs: Improved code layout to match coding style,
754 and removed the Byte comparison with -1.
756 2004-02-04 Sebastien Pouliot <sebastien@ximian.com>
758 * CryptoStream.cs: New implementation - should fix all known issues
759 with the class (Read/WriteByte, reading by non-multiple of the
760 block size, using Stream.Length and Stream.Position ...).
761 * SymmetricAlgorithm.cs: Return an empty array when there's nothing
762 to return (required for CryptoStream to work).
764 2004-01-31 David Sheldon <dave-mono@earth.li>
766 * FromBase64Transform.cs: Removed needless catch and rethrow.
768 2004-01-31 David Sheldon <dave-mono@earth.li>
770 * FromBase64Transform.cs: Fixes to what happens if a character in the
771 input stream is not in the lookup table. IndexOutOfRangeException was
774 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
776 * CryptoConfig.cs: Now use internal Environment.GetMachineConfigPath()
777 to find machine.config. Initialization removed from static constructor
778 to speed up 98% of software that do not requires it.
779 * SymmetricAlgorithm.cs: Fixed padding for None and Zeros modes. Unit
780 tests for padding modes are now in PaddingModeTest.cs.
782 2003-12-10 Zoltan Varga <vargaz@freemail.hu>
784 * HMAC.cs: Fix compilation warnings.
786 2003-12-10 Mark Crichton <crichton@gimp.org>
788 * RNGCryptoServiceProvider.cs: Removed icall to GetNonZeroBytes. Now
789 done with managed code.
791 2003-11-13 Sebastien Pouliot <spouliot@videotron.ca>
793 * ProtectedData.cs: Added exceptions - core is still TODO.
794 * ProtectedMemory.cs: Added exceptions - core is still TODO.
796 2003-11-11 Sebastien Pouliot <spouliot@videotron.ca>
798 * Rfc2898DeriveBytes.cs: Now handle resets and keys longer than 160
799 bits (HMACSHA1 block size). Removed TODO.
800 * SymmetricAlgorithm.cs: Fixed decryption when inputOffset > 0.
803 2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
805 * Rfc2898DeriveBytes.cs: Implementation for PKCS5 PBKDF2. It works
806 except for the Reset() part - which implies some kind of Resume.
808 2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
810 * CryptoConfig.cs: Updated for RIPEMD160 and HMAC.
811 * CspKeyContainerInfo.cs: New (1.2). Information about CSP based key
813 * DataProtectionScope.cs: New (1.2). Enumeration for ProtectedData.
814 * HMAC.cs: New (1.2). Base class for all HMAC. Code is mostly copied
815 from internal Mono.Security.Cryptography.HMACAlgorith.cs.
816 * HMACMD5.cs: New (1.2). HMAC implementation using MD5.
817 * HMACRIPEMD160.cs: New (1.2). HMAC implementation using RIPEMD160.
818 * HMACSHA1.cs: Modified to derive from HMAC for .NET 1.2.
819 * HMACSHA256.cs: New (1.2). HMAC implementation using SHA256.
820 * HMACSHA384.cs: New (1.2). HMAC implementation using SHA384.
821 * HMACSHA512.cs: New (1.2). HMAC implementation using SHA512.
822 * ICspAsymmetricAlgorithm.cs: New (1.2). Interface for CSP based
823 asymmetric algorithm.
824 * KeyNumber.cs: New (1.2). Enumeration for CspKeyContainerInfo.
825 * MemoryProtectionScope.cs: New (1.2). Enumeration for ProtectedMemory.
826 * PaddingMode.cs: Added two new padding modes to enumeration (for 1.2).
827 * ProtectedData.cs: New (1.2). ProtectedData without protection (TODO).
828 * ProtectedMemory.cs: New (1.2). Stub for ProtectedMemory.
829 * Rfc2898DeriveBytes.cs: New (1.2). Stub for PKCS5 PBKDF2.
831 2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
833 * RIPEMD160.cs: New (1.2). Abstract class for RIPEMD160 hash from
834 Pieter Philippaerts (Pieter@mentalis.org)
835 * RIPEMD160Managed.cs: New (1.2). Implementation of the RIPEMD160 hash
836 algorithm from Pieter Philippaerts (Pieter@mentalis.org)
838 2003-10-07 Sebastien Pouliot <spouliot@videotron.ca>
840 * CryptoStream.cs: Commented CanTransformMultipleBlocks
841 optimization - it simply doesn't work :(
843 2003-10-04 Sebastien Pouliot <spouliot@videotron.ca>
845 * CryptoStream.cs: Fixed bug 49323. The CanTransformMultipleBlocks
846 optimization in Read has been fixed for partial blocks.
848 2003-09-11 Lluis Sanchez Gual <lluis@ximian.com>
850 * CryptoStream.cs: Added [In,Out] attributes to Read method.
852 2003-08-24 Sebastien Pouliot <spouliot@videotron.ca>
854 * SymmetricAlgorithm.cs: Fixed IV length exception for stream ciphers
855 (e.g. RC4) which don't uses IV. This needs more tests for small IV...
857 2003-08-09 Sebastien Pouliot <spouliot@videotron.ca>
859 * SymmetricAlgorithm.cs: Re-introduced Lluis patch for PaddingMode.None
860 and PaddingMode.Zeros (not PaddingMode.PKCS7).
862 2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
864 * CryptoStream.cs: Closing bug #40689. The Write method was re-written.
865 * SymmetricAlgorithm.cs: Removed Lluis previous patch (it fails a unit
866 test) and corrected a bug in FinalDecrypt.
867 * RSACryptoServiceProvider.cs: Fixed different exceptions from .NET 1.0
870 2003-07-31 Sebastien Pouliot <spouliot@videotron.ca>
872 * CryptoStream.cs: Closing bug #46143. The Read method was re-written.
874 2003-07-30 Sebastien Pouliot <spouliot@videotron.ca>
876 * CryptoStream.cs: Fixed bug #46143 (exception) - however we dont
877 returns the same result as MS. Class needs to be re-written.
879 2003-07-09 Lluis Sanchez Gual <lluis@ximian.com>
881 * SymmetricAlgorithm.cs: Fixed FinalEncrypt. Return empty array if inputCount is 0.
883 2003-07-05 Sebastien Pouliot <spouliot@videotron.ca>
885 * AsymmetricAlgorithm.cs: Removed AsymmetricParameters (IReader) class.
886 Now uses the new Mono.Xml.SecurityParser (xml -> SecurityElement)
887 * CryptoConfig.cs: Removed CorlibHandler and CorlibReader classes. Now
888 uses the new Mono.Xml.SecurityParser (xml -> SecurityElement)
889 * DSA.cs: Removed DSAHandler (IHandler) class. Now uses the new
890 Mono.Xml.SecurityParser (xml -> SecurityElement)
891 * DSACryptoServiceProvider.cs: Added ObjectDisposedException support
892 and fixed bugs found in new unit tests.
893 * RSA.cs: Removed DSAHandler (IHandler) class. Now uses the new
894 Mono.Xml.SecurityParser (xml -> SecurityElement)
895 * RSACryptoServiceProvider.cs: Added ObjectDisposedException support
896 and fixed bugs found in new unit tests.
898 2003-06-22 Sebastien Pouliot <spouliot@motus.com>
900 * DSACryptoServiceProvider.cs: Added UseMachineKeyStore property (1.1).
901 * RSACryptoServiceProvider.cs: Added UseMachineKeyStore property (1.1).
903 2003-06-11 Sebastien Pouliot <spouliot@motus.com>
905 * DSACryptoServiceProvider.cs: Refactored from orginal by splitting
906 much core functionalities into DSAManaged.
907 * RSACryptoServiceProvider.cs: Refactored from orginal by splitting
908 much core functionalities into RSAManaged.
909 * RSAPKCS1SignatureDeformatter.cs: Updated to use the new PKCS#1 API.
910 Now works with any hash algorithm (which OID is defined in machine.config)
911 * RSAPKCS1SignatureFormatter.cs: Updated to use the new PKCS#1 API.
912 Now works with any hash algorithm (which OID is defined in machine.config)
914 2003-06-09 Sebastien Pouliot <spouliot@motus.com>
916 * CryptoConfig.cs: Now support OID in machine.config.
917 * DSACryptoServiceProvider.cs: Changed USE_VERSION_1_0 for NET_1_0.
918 * KeySizes.cs: Changed USE_VERSION_1_0 for NET_1_0.
919 * MD5CryptoServiceProvider.cs: Changed USE_VERSION_1_0 for NET_1_0.
920 * RNGCryptoServiceProvider.cs: Changed USE_VERSION_1_0 for NET_1_0.
922 2003-05-12 Sebastien Pouliot <spouliot@videotron.ca>
924 * PKCS1MaskGenerationMethod.cs: Added comment to justify why
925 the class is no more compatible with MS implementation (the bug
926 was preventing OAEP to work properly).
928 2003-05-09 Sebastien Pouliot <spouliot@videotron.ca>
930 * DSACryptoServiceProvider.cs: Class is now sealed in v.1.1.
931 * KeySizes.cs: Class is now sealed in v.1.1.
932 * MD5CryptoServiceProvider.cs: Class is now sealed in v.1.1.
933 * RNGCryptoServiceProvider.cs: Class is now sealed in v.1.1.
935 2003-04-22 Sebastien Pouliot <spouliot@videotron.ca>
937 * DSACryptoServiceProvider.cs: Changed key generation to use the
938 new BigInteger class (commited for Ben Maurer).
939 * RSACryptoServiceProvider.cs: Changed key generation to use the
940 new BigInteger class (commited for Ben Maurer).
942 2003-04-06 Sebastien Pouliot <spouliot@videotron.ca>
944 * AsymmetricAlgorithm.cs: Moved IsLegalKeySize to KeySizes.cs.
945 * DSACryptoServiceProvider.cs: Fix bug where key generation always
946 resulted in 1024 bits keypair.
947 * KeySizes.cs: Added internal IsLegalKeySize and IsLegal to avoid
948 duplication in both AsymmetricAlgorithm and SymmetricAlgorithm.
949 * RC2.cs: Modified to use IsLegalKeySize from KeySizes.cs.
950 * RSACryptoServiceProvider.cs: Fix bug where key generation always
951 resulted in 1024 bits keypair. Should fix unit test failure under
953 * SymmetricAlgorithm.cs: Moved IsLegalKeySize to KeySizes.cs.
955 2003-04-06 Sebastien Pouliot <spouliot@videotron.ca>
957 * CryptoStream.cs: Partial fix for bug #40689 (workaround). Does not
958 throw a NotSupportedException on closing a CryptoStream in read mode
959 (like MS does but unlike MS documents).
961 2003-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
963 * CryptoStream.cs: fixed the previous fix. MS throws a NotSupportedExc
964 when FlushFinalBlock is called twice. I've moved a few lines from Close
965 to FlushFinalBlock and added the exception check.
967 2003-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
969 * CryptoStream.cs: don't Close the underlying stream in FlushFinalBlock.
972 2003-03-03 Sebastien Pouliot <spouliot@videotron.ca>
974 * RSACryptoServiceProvider.cs: Delay keypair generation event when
975 keysize is a constructor parameter (major speed improvment when
976 importing keys). Removed NotSupportedException when CspParameter is
977 used in constructor (required for forthcoming security tools).
979 2003-02-08 Sebastien Pouliot <spouliot@videotron.ca>
981 * Changes to refer Mono.Math and Mono.Security.Cryptography
982 * Changes to refer Mono.Xml
984 2003-02-04 Sebastien Pouliot <spouliot@videotron.ca>
986 * CryptoConfig.cs: Added initital support for "machine.config"
987 (limited to algorithms, not OIDs). Modified CreateFromName to use
988 the fully qualified class names (and removed xmldsig hack). Added
989 algorithm names documented in book ".NET Framework Security".
991 2003-02-03 Sebastien Pouliot <spouliot@videotron.ca>
993 * PasswordDeriveBytes.cs: Finally got the derivation right. The
994 class can now derive keys up to 1000 * HashSize (same limit as MS).
995 * RSAPKCS1SignatureDeformatter.cs: No need to create the hash object
996 in this class - the OID is enough.
998 2003-02-01 Sebastien Pouliot <spouliot@videotron.ca>
1000 * AsymmetricSignatureFormatter.cs: Call abstract SetHashAlgorithm
1001 when CreateSignature(hash) is called.
1002 * CryptoStream.cs: Fixed some issues in constructor.
1003 * DSACryptoServiceProvider.cs: Fixed a bug (1 chance in 256) that
1004 a signature could be less than 40 bytes (which is invalid).
1006 2003-01-25 Sebastien Pouliot <spouliot@videotron.ca>
1008 * CryptographicException.cs: Default HResult to CORSEC_E_CRYPTO
1009 (0x80131430) as documented.
1010 * CryptographicUnexpectedOperationException.cs: Default HResult
1011 to CORSEC_E_CRYPTO_UNEX_OPER (0x80131431) as documented.
1013 2003-01-20 Sebastien Pouliot <spouliot@videotron.ca>
1015 * CipherMode.cs: Added missing [Serializable] to enum.
1016 * CspProviderFlags.cs: Added missing [Serializable] to enum.
1017 * FromBase64Transform.cs: Added missing [Serializable] to enum.
1018 * PaddingMode.cs: Added missing [Serializable] to enum.
1020 2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
1022 * CryptoTools.cs: Added internal class BlockProcessor to help
1023 implementation of block-based algorithms (like MAC and HMAC).
1024 * HMACSHA1.cs: Refactored to remove dependencies on CryptoStream,
1025 better constructors and Dispose support.
1026 * MACTripleDES.cs: Refactored to reuse new HMACSHA1 stuff, better
1029 2003-01-18 Sebastien Pouliot <spouliot@videotron.ca>
1031 * HMACSHA1.cs: Now use KeyBuilder to build the default key.
1033 2003-01-12 Sebastien Pouliot <spouliot@videotron.ca>
1035 * MACTripleDES.cs: Now working (the problem was with my stream usage
1036 which was removed for performance reason).
1037 * TripleDES.cs: Fixed key generation (wasn't called and returned
1040 2003-01-09 Sebastien Pouliot <spouliot@videotron.ca>
1042 * RNGCryptoServiceProvider.cs: Changed methods interacting with
1043 the runtime as Internal<MethodName>. This will allow to make the
1044 class Windows-compatible by doing a switch at runtime.
1046 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
1048 * CryptoAPITransform.cs: Removed all TODO. This class will not be
1049 used by Mono. MS uses it with <algo>CryptoServiceProvider classes
1050 to provide a common ICryptoTransform access to CryptoAPI.
1052 2003-01-03 Sebastien Pouliot <spouliot@videotron.ca>
1054 * RC2CryptoServiceProvider.cs: Now about 2 time faster by inlining
1055 methods and changing to UInt16 (instead of UInt32).
1057 2003-01-02 Sebastien Pouliot <spouliot@videotron.ca>
1059 * RijndaelManaged.cs: Now 7 (encrypt) to 10 (decrypt) times faster
1060 by removing allocation inside intensively called methods, using pre-
1061 calculated tables instead of Mult_GF methods and inlining most methods.
1063 2002-12-31 Sebastien Pouliot <spouliot@videotron.ca>
1065 * AsymmetricAlgorithm.cs: Removed ValidKeySize (method only present
1066 in SymmetricAlgorithm).
1067 * DSA.cs: Change ZeroizePrivateKey from protected to internal.
1068 * DSACryptoServiceProvider.cs: Added some case where we need to check
1069 for keypairGenerated.
1070 * RSA.cs: Change ZeroizePrivateKey from protected to internal.
1071 * RSACryptoServiceProvider.cs: Key were never generated with the default
1072 (no parameter) constructor. Now checks for keypairGenerated in methods.
1073 * SignatureDescription.cs: Added CreateDeformatter in RSAPKCS1SHA1-
1074 SignatureDescription to please corcompare (it just call it's ancestor).
1076 2002-12-30 Sebastien Pouliot <spouliot@videotron.ca>
1078 * CryptoStream.cs: Implemented core. Not sure about many details -
1079 but it run the samples now (#30256).
1080 * CryptoStreamMode.cs: Added [Serializable] to enum declaration.
1081 * SymmetricAlgorithm.cs: Made some changes required for CryptoStream
1082 and to match more closely MS implementation. Also added little
1083 optimizations in TransformBlock.
1085 2002-12-27 Sebastien Pouliot <spouliot@videotron.ca>
1087 * CryptoTools.cs: New. Shared classes for cryptography. Now
1088 includes a KeyBuilder to generate symmetric keys and IV.
1089 * DES.cs: Modified Key validation.
1090 * DESCryptoServiceProvider.cs: Implemented Key and IV using
1092 * RC2CryptoServiceProvider.cs: Implemented Key and IV using
1093 KeyBuilder (and removed TODO).
1094 * RijndaelManaged.cs: Implemented Key and IV using KeyBuilder
1096 * SHA384Managed.cs: Changed code to remove compiler warning.
1097 * SHA512Managed.cs: Changed code to remove compiler warning.
1098 * SymmetricAlgorithm.cs: Removed TODO on IV.
1099 * TripleDESCryptoServiceProvider.cs: Implemented Key and IV
1100 using KeyBuilder (and removed TODO).
1102 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
1104 * AsymmetricSignatureDeformatter.cs: Added exception handling in
1105 VerifySignature (moved from RSAPKCS1SignatureDeformatter).
1106 * AsymmetricSignatureFormatter.cs: Added exception handling in
1107 CreateSignature (moved from RSAPKCS1SignatureFormatter).
1108 * CryptoAPITransform.cs: Removed "= false" assignation from a private
1109 member (because this created an unwanted "ghost" constructor) and
1110 modified Dispose declaration.
1111 * HashAlgorithm.cs: Removed destructor. Disposing unmanaged
1112 ressources is the responsability of each class (not an abstract class).
1113 * RSAPKCS1SignatureDeformatter.cs: Removed a VerifySignature method
1114 which was present in the base class AsymmetricSignatureDeformatter.
1115 * RSAPKCS1SignatureFormatter.cs: Removed a CreateSignature method
1116 which was present in the base class AsymmetricSignatureFormatter.
1117 * SHA1Managed.cs: Removed sealed from class declaration. Removed
1118 destructor and Dispose method as class is fully managed.
1119 * ToBase64Transform.cs: Added virtual to property CanReuseTransform.
1121 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
1123 * CryptoConfig.cs: Added full classes name for MapNameToOID.
1124 * PKCS1.cs: New. Internal class for the various primitives defined
1126 * PKCS1MaskGenerationFunction.cs: Modified to use PKCS1.cs.
1127 * RSA.cs: Added internal class RSAHandler (which implements IHandler
1128 interface for MiniParser) to import RSA keypairs from XML strings.
1129 * RSACryptoServiceProvider.cs: Crypto implemented using BigInteger.
1130 Key generation is VERY LONG.
1131 * RSAOAEPKeyExchangeDeformatter.cs: Completed using PKCS1. Not sure
1132 of the results as this is not available in all versions of Windows.
1133 * RSAOAEPKeyExchangeFormatter.cs: Completed using PKCS1. Not sure
1134 of the results as this is not available in all versions of Windows.
1135 * RSAPKCS1KeyExchangeDeformatter.cs: Completed using PKCS1.
1136 * RSAPKCS1KeyExchangeFormatter.cs: Completed using PKCS1.
1137 * RSAPKCS1SignatureDeformatter.cs: Completed using PKCS1.
1138 * RSAPKCS1SignatureFormatter.cs: Completed using PKCS1.
1140 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
1142 * MiniParser.cs: Added explicit cast in order to compile with mcs.
1144 2002-11-16 Sebastien Pouliot <spouliot@videotron.ca>
1146 * AsymmetricAlgorithm.cs: Added internal class AsymmetricParameters
1147 (which implements the IReader interface for MiniParser). Corrected
1148 Dispose declaration.
1149 * BigInteger.cs: New. Internal class for handling BIG integers for
1150 asymmetric crypto (both RSA and DSA). Thanks to Chew Keong TAN !
1151 * CryptoConfig.cs: Added XMLDSIG URLs in CreateFromName.
1152 Will dynamically load System.Security.dll, when required,
1153 to return instance of those classes. Also CryptoConfig can now
1154 create any object (e.g. System.IO.MemoryStream) !
1155 * DSA.cs: Added internal class DSAHandler (which implements IHandler
1156 interface for MiniParser) to import DSA keypairs from XML strings.
1157 * DSACryptoServiceProvider.cs: Crypto fully implemented using
1158 BigInteger. Key generation (group) is VERY long.
1159 * MiniParser.cs: New. Minimal XML parser by Sergey Chaban. Used to
1160 import keypairs in XML strings.
1161 * SignatureDescription.cs: Removed local CreateFromName (to use
1162 CryptoConfig - which actually can create anything). Added internal
1163 classes DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
1165 2002-11-15 Sebastien Pouliot <spouliot@videotron.ca>
1167 * CryptographicUnexpectedOperationException.cs: Forgot it last time!
1168 * FromBase64Transform.cs: Added missing virtual to CanReuseTransform.
1170 * HashAlgorithm.cs: Changed Dispose().
1171 * MD5CryptoServiceProvider.cs: Added destructor and Dipose(bool).
1172 * PasswordDeriveBytes.cs: Changed some declaration from
1173 protected to private.
1174 * RC2.cs: Added valid keysize check in EffectiveKeySize.
1175 * RC2CryptoServiceProvider.cs: Overriden EffectiveKeySize to match
1176 corlib declarations.
1177 * RSAOAEPKeyExchangeDeformatter.cs: Changed some declaration from
1178 protected to private.
1179 * RSAOAEPKeyExchangeFormatter.cs: Changed some declaration from
1180 protected to private.
1181 * RSAPKCS1KeyExchangeDeformatter.cs: Changed some declaration from
1182 protected to private.
1183 * RSAPKCS1KeyExchangeFormatter.cs: Changed some declaration from
1184 protected to private.
1185 * RSAPKCS1SignatureDeformatter.cs: Changed some declaration from
1186 protected to private.
1187 * RSAPKCS1SignatureFormatter.cs: Changed some declaration from
1188 protected to private.
1189 * SHA1CryptoServiceProvider.cs: Moved SHA1 code to SHA1Internal.
1190 SHA1CryptoServiceProvider now use SHA1Internal. Added Dispose and
1192 * SHA1Managed.cs: New. Use SHA1Internal. Same as
1193 SHA1CryptoServiceProvider but is required for binary compatibility.
1194 * SHA256Managed.cs: Changed some declaration from protected to private.
1195 * SHA384Managed.cs: Changed some declaration from protected to private.
1196 * SHA512Managed.cs: Changed some declaration from protected to private.
1197 * SymmetricAlgorithm.cs: Added Clear(), changed Dispose() and added
1198 virtual to Dispose(bool).
1199 * ToBase64Transform.cs: Added missing virtual to CanReuseTransform.
1201 * TripleDESCryptoServiceProvider.cs: Added missing sealed to class
1204 2002-11-03 Sebastien Pouliot <spouliot@videotron.ca>
1206 * CryptoAPITransform.cs: Added missing CanReuseTransform property,
1207 Clear method, destructor and IDisposable support.
1208 * CryptographicException.cs: Added missing protected constructor.
1209 * CryptographicUnexpectedOperationException.cs: Added missing
1210 protected constructor.
1211 * ICryptoTransform.cs: Added missing CanReuseTransform property.
1212 * FromBase64Transform.cs: Added missing CanReuseTransform property,
1213 Clear method, destructor and IDisposable support.
1214 * SymmetricAlgorithm.cs: Implement IDisposable.
1215 * ToBase64Transform.cs: Added missing CanReuseTransform property,
1216 Clear method, destructor and IDisposable support.
1218 2002-11-02 Sebastien Pouliot <spouliot@videotron.ca>
1220 * SignatureDescription.cs: Updated class to match unit test results
1221 * X509Certificate.cs: REMOVED! Wrong namespace. An almost complete
1222 implementation is now in System.Security.Cryptography.X509Certificates
1224 2002-11-01 Sebastien Pouliot <spouliot@videotron.ca>
1226 * bouncycastle.txt: Bouncy Castle JCE License.
1227 * SHA384Managed.cs: Hash implementation based on BouncyCastle JCE.
1228 * SHA512Managed.cs: Hash implementation based on BouncyCastle JCE.
1230 2002-10-30 Sebastien Pouliot <spouliot@videotron.ca>
1232 * DSASignatureDeformatter.cs: Fully implemented - however it
1233 requires a functionnal DSA implementation to work.
1234 * DSASignatureFormatter.cs: Fully implemented - however it
1235 requires a functionnal DSA implementation to work.
1237 2002-10-25 Sebastien Pouliot <spouliot@videotron.ca>
1239 * PasswordDeriveBytes.cs: New. PKCS#5 key derivation (PBKDF1) works up to
1240 HashSize length (but MS support longer keys)
1242 2002-10-24 Sebastien Pouliot <spouliot@videotron.ca>
1244 * RSACryptoServiceProvider.cs: New. Implemented most logic expect crypto
1245 * RSAOAEPKeyExchangeDeformatter.cs: New. Stub.
1246 * RSAOAEPKeyExchangeFormatter.cs: New. Stub.
1247 * RSAPKCS1KeyExchangeDeformatter.cs: New. Stub.
1248 * RSAPKCS1KeyExchangeFormatter.cs: New. 98% implemented but still
1249 require RSA.DecryptValue (not supported in MS .NET Framework)
1250 * RSAPKCS1SignatureDeformatter.cs: New. Stub.
1251 * RSAPKCS1SignatureFormatter.cs: New. Stub.
1253 2002-10-23 Sebastien Pouliot <spouliot@videotron.ca>
1255 * SymmetricAlgorithm.cs: Fixed CFB mode (do encryption while decrypting!)
1256 * TripleDESCryptoServiceProvider.cs: Ajusted for CFB.
1258 2002-10-22 Sebastien Pouliot <spouliot@videotron.ca>
1260 * RjindaelManaged.cs: Fixed decryption for 192 and 256 bit block size
1262 2002-10-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1264 * RC2CryptoServiceProvider.cs: fixed end of lines (changed from \r
1267 2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
1269 * SymmetricAlgorithm.cs: Added better Dispose support
1270 * DES.cs: Now only contains the abstract DES class.
1271 * DESCryptoServiceProvider.cs: Added the DESTransform class (inherited
1272 from SymmetricTransform) based the old DESCore and DESTransformBase code
1273 * RC2.cs: Fixed EffectiveKeySize == 0
1274 * RC2CryptoServiceProvider.cs: Added the RC2Transform class (inherited
1275 from SymmetricTransform) based on the old RC2lImpl code. Unrolled some loops.
1276 * RjindaelManaged.cs: Few more optimizations while looking for decrypting bug
1277 * TripleDESCryptoServiceProvider.cs: New. Implement TripleDESTransform from
1278 DESTransform (non-optimal but working :-).
1280 2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
1282 * SymmetricAlgorithm.cs: Added new class SymmetricTransform to avoid
1283 duplicating CipherMode (currently ECB, CBC) and PaddingMode functionalities
1284 in every crytographic algorithm implementation.
1285 * RijndaelManaged.cs: Added the RjindaelTransform class (inherited
1286 from SymmetricTransform) based the old RijndaelImpl / RijndaelController
1287 code. Fixed encryption for block size 192, 256, there is still a problem
1288 decrypting block size 192, 256. Unrolled some loops + littl'optimizations
1289 * PKCS1MaskGenerationMethod.cs: Removed Array.Reverse in I2OSP to be
1290 compatible with MS implementation (however we are now failing the PKCS#1
1291 test vector) + added some more checks (null, overflow, ...)
1292 * AsymmetricAlgorithm.cs: Commented XMLDocument stuff to end the cyclic
1293 dependency (corlib->System.Xml->corlib)
1294 * RSA.cs: Commented FromXmlString stuff to end the cyclic dependency
1295 * DSA.cs: Commented FromXmlString stuff to end the cyclic dependency
1296 * RC2.cs: Create using CryptoConfig
1297 * TripleDES.cs: Marked class public. Added LegalKeySizes and LegalBlockSizes
1299 2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
1301 * MD5.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
1302 * Rijndael.cs: Create using CryptoConfig. Removed TODO.
1303 * RSAParameters.cs: Modulus must be serialized. Removed TODO.
1304 * SHA256.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
1305 * SHA384.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
1306 * SHA512.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
1307 * FromBase64Transform.cs: Removed ToString()
1308 * ToBase64Transform.cs: Removed ToString()
1309 * SymmetricAlgorithm.cs: Create using CryptoConfig, set default Mode and
1310 Padding, added Clear, Dispose
1311 * TripleDES.cs: New. Abstract class.
1312 * MaskGenerationMethod.cs: New. Abstract class.
1313 * PKCS1MaskGenerationMethod.cs: New. Implement PKCS#1 MGF (currently not
1314 compatible with MS implementation - but not sure the bug is mine!).
1316 2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
1318 * HashAlgorithm.cs: Added Dispose() to HashAlgorithm because it
1319 inherits ICryptoTransform
1320 * KeyedHashAlgorithm.cs: New implementation
1321 * HMACSHA1.cs: New (include a generic HMACAlgorithm as internal class)
1322 * MACTripleDES.cs: New (missing core implementation on generic MACAlgorithm)
1323 * CryptoStream.cs: Added limited functionalities to support HMACSHA1
1325 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
1327 * DSA.cs: changed constructor to public from internal (like MS)
1328 * HashAlgorithm.cs: Completed ComputeHash methods
1329 * SHA1.cs: Added HashSizeValue = 160
1331 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
1333 * ICryptoTransform.cs: Now inherits from IDisposable
1334 * RC2CryptoServiceProvider.cs: Added Dispose() to RC2Impl because it inherits ICryptoTransform
1335 * CryptoAPITransform.cs: Added Dispose() to CryptoAPITransform... ICryptoTransform
1336 * RijndaelManaged.cs: Added Dispose() to RijndaelController...ICryptoTransform
1337 * FromBase64Transform.cs: Added Dispose() to FromBase64Transform...ICryptoTransform
1338 * ToBase64Transform.cs: Added Dispose() to ToBase64Transform...ICryptoTransform
1339 * DESCryptoServiceProvider.cs: Added Dispose() to DESTransformBase...ICryptoTransform
1341 2002-10-11 Duncan Mak <duncan@ximian.com>
1343 * DESCryptoServiceProvider.cs: Removed unnecessary Dispose ().
1345 2002-10-11 Sebastien Pouliot <spouliot@videotron.ca>
1347 * DES.cs: Create() using CryptoConfig, fix #30256
1348 * DESCryptoServiceProvider.cs: fix #30256
1349 * RandomNumberGenerator.cs: uncomment in Create(rng) for CryptoConfig
1351 2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
1353 * AsymmetricAlgorithm.cs: Inherit from IDisposable, common support from XML import
1354 * DSA.cs: FromXmlString() keypair import, Create() using CryptoConfig
1355 * RSA.cs: FromXmlString() keypair import, Create() using CryptoConfig
1356 * DSACryptoServiceProvider.cs: Added Dispose()
1358 2002-10-09 Sebastien Pouliot <spouliot@videotron.ca>
1360 * CryptoConfig.cs: New implementation
1362 2002-10-05 Andrew Birkett <andy@nobugs.org>
1364 * RC2CryptoServiceProvider.cs: New implementation
1365 * RC2.cs: New implementation
1367 2002-09-22 Andrew Birkett <andy@nobugs.org>
1369 * RijndaelManaged.cs: Added faster case for multiplication by 2 in GF(8)
1371 2002-09-22 Andrew Birkett <andy@nobugs.org>
1373 * RijndaelManaged.cs: BlockSize now reports size in bytes.
1374 * ICryptoTransform.cs: Updated comments - BlockSizes are in bytes, unlike elsewhere.
1376 2002-09-19 Andrew Birkett <andy@nobugs.org>
1378 * Rijndael.cs: Create() now gives you a RijndaelManaged object
1379 * RijndaelManaged.cs: Added dummy GenerateKey until we have a proper RNG.
1380 * SymmetricAlgorithm.cs: Updated comments
1382 2002-09-15 Andrew Birkett <andy@nobugs.org>
1384 * RijndaelManaged.cs: Added support for CBC-mode, PKCS7/Zero padding.
1385 * SymmetricAlgorithm.cs: IV size must match block size, not key size.
1386 Key property now sets KeySizeValue correctly in bits.
1388 2002-09-11 Andrew Birkett <andy@nobugs.org>
1390 * RijndaelManaged.cs: Implemented ECB-mode Rijndael cipher.
1391 * Rijndael.cs: Set valid key/block sizes.
1392 * SymmetricAlgorithm.cs: Remove throw from ctr so we can instantiate
1393 derived classes. Fixes to key sizes so they are measured in bits.
1394 * KeySizes.cs: Updated comments to emphasize that sizes are in bits.
1396 2002-06-29 Martin Baulig <martin@gnome.org>
1398 * AsymmetricAlgorithm.cs: Removed a duplicate semicolon to make it compile.
1400 2002-05-19 Martin Baulig <martin@gnome.org>
1402 * FromBase64Transform.cs (TransformFinalBlock): The return value of
1403 `DoTransform' tells us the number of bytes actually written - if it's
1404 smaller than `res', copy it to a smaller array.
1406 2002-02-21 Mark Crichton <crichton@gimp.org>
1408 * RNGCryptoServiceProvider.cs: New file.
1409 * RandomNumberGenerator.cs: Constructor is now marked public.
1411 2002-02-13 Dan Lewis <dihlewis@yahoo.co.uk>
1413 * DSACryptoServiceProvider.cs, SHA384Managed.cs, SHA512Managed.cs,
1414 Rijndael.cs, RSA.cs, RSAParameters.cs : New files (stubs)
1416 Mon Feb 11 13:26:17 CET 2002 Paolo Molaro <lupus@ximian.com>
1418 * X509Certificates: dummy class.
1420 2002-01-10 Duco Fijma <duco@lorentz.xs4all.nl>
1421 * Create (trivial) implementation of RandomNumberGenerator
1423 2002-01-05 Ravi Pratap <ravi@ximian.com>
1425 * CryptoAPITransform.cs, DESCryptoProvider.cs : MonoTODO attribute
1428 * HashAlgorithm.cs, MD5.cs, SHA1.cs, SHA256.cs, SHA384.cs : Ditto.
1430 * SHA512.cs, SymmetricAlgorithm.cs, ToBase64Transform.cs,
1431 AsymmetricAlgorithm.cs, CryptoStream.cs, DSA.cs, DSASignatureDeformatter.cs,
1432 DSASignatureFormatter.cs, SignatureDescription.cs : Ditto.
1434 Wed Nov 14 17:04:30 CET 2001 Paolo Molaro <lupus@ximian.com>
1436 * MD5CryptoServiceProvider.cs, SHA1CryptoServiceProvider.cs,
1437 SHA256Managed.cs: CLSCompliant updates.
1439 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
1441 * CryptoAPITransform.cs: Initial version
1442 * CryptoStream.cs: Initial version
1443 * CspParameter.cs: Initial version
1444 * CspProviderFlags.cs: Initial version
1445 * DSA.cs: Initial version
1446 * DSAParameters.cs: Initial version
1447 * DSASignatureDeformatter.cs: Initial version
1448 * DSASignatureFormatter.cs: Initial version
1449 * DeriveBytes.cs: Initial version
1451 2001-10-06 Thomas Neidhart <tome@sbox.tugraz.at>
1453 * AsymmetricAlgorithm.cs: Inital version
1454 * AsymmetricKeyExchangeDeformatter.cs: Initial version
1455 * AsymmetricKeyExchangeFormatter.cs: Initial version
1456 * AsymmetricSignatureDeformatter.cs: Initial version
1457 * AsymmetricSignatureFormatter.cs: Initial version
1458 * PaddingMode.cs: Added PaddingMode.None
1459 * SignatureDescription.cs: Initial version
1460 * CryptographicException.cs: Initial version
1461 * CryptographicUnknownOperationException.cs: Initial version
1462 * SymmetricAlgorithm.cs: Implemented CreateDecryptor, CreateEncryptor
1463 and Create() methods.
1465 2001-08-20 Sergey Chaban <serge@wildwestsoftware.com>
1467 * DES.cs encryption core is about 30% faster than previous version.
1468 * DESCryptoServiceProvider.cs added PKCS-5 padding.
1470 2001-08-09 Sergey Chaban <serge@wildwestsoftware.com>
1472 * ToBase64Transform.cs: Base64Table now supports both encoding
1473 and decoding tables. As a result Table was renamed to EncodeTable
1474 and DecodeTable was added.
1475 * FromBase64Transform.cs: Initial check-in.
1476 * DES.cs: Initial check-in.
1477 * DESCryptoServiceProvider.cs: Initial check-in.
1479 2001-08-01 Matthew S. Ford <Matthew.S.Ford@Rose-Hulman.Edu>
1481 * CipherMode.cs: Initial version.
1482 * CryptoStreamMode.cs: Initial version.
1483 * HashAlgorithm.cs: Initial version.
1484 * ICryptoTransform.cs: Initial version.
1485 * KeySizes.cs: Initial version.
1486 * MD5.cs: Initial version.
1487 * MD5CryptoServiceProvider.cs: Initial version.
1488 * PaddingMode.cs: Initial version.
1489 * SHA1.cs: Initial version.
1490 * SHA1CryptoServiceProvider.cs: Initial version.
1491 * SHA256.cs: Initial version.
1492 * SHA256Managed.cs: Initial version.
1493 * SHA384.cs: Initial version.
1494 * SHA512.cs: Initial version.