diff dcrypt/crypto/ciphers/TEA.d @ 6:5cb17e09d685

Minor edits to the unittests of hash functions and ciphers. Added AES and test vectors.
author Thomas Dixon <reikon@reikon.us>
date Sat, 16 Aug 2008 22:43:22 -0400
parents 71aae178f89a
children 23c62e28b3a4
line wrap: on
line diff
--- a/dcrypt/crypto/ciphers/TEA.d	Thu Aug 14 23:51:56 2008 -0400
+++ b/dcrypt/crypto/ciphers/TEA.d	Sat Aug 16 22:43:22 2008 -0400
@@ -131,7 +131,7 @@
             t.processBlock(Util.hexToUbytes(test_ciphertexts[i]), 0, buffer, 0);
             result = Util.ubytesToHex(buffer);
             assert(result == test_plaintexts[i],
-                    t.name~": ("~result~") != ("~test_ciphertexts[i]~")");
+                    t.name~": ("~result~") != ("~test_plaintexts[i]~")");
         }
     }
 }