diff dcrypt/crypto/hashes/MD5.d @ 10:cd376996cdb3

Renamed SymmetricCipher back to Cipher (we don't support any other kind atm, I'll deal with it when we do.). Added BlockCipherWrapper for the encryption of arbitrary streams with or without padding. Removed hashByName, and replaced it with createHash. Re-did the high-level API, and filled out Crypto. Added cipher creation via createCipher. Added dsk to the CONTRIBUTORS file for helping with the design of the high-level API.
author Thomas Dixon <reikon@reikon.us>
date Wed, 20 Aug 2008 20:08:07 -0400
parents 5cb17e09d685
children 4589f8c5eb3c
line wrap: on
line diff
--- a/dcrypt/crypto/hashes/MD5.d	Mon Aug 18 01:19:18 2008 -0400
+++ b/dcrypt/crypto/hashes/MD5.d	Wed Aug 20 20:08:07 2008 -0400
@@ -16,6 +16,7 @@
  * Conforms: RFC 1321
  * References: http://www.faqs.org/rfcs/rfc1321.html
  * Bugs: MD5 is not cryptographically secure.
+ * Throws: InsecureAlgorithmError upon instantiation.
  */
 class MD5 : Hash {
 	private uint h0, h1, h2, h3;