Mercurial > projects > dcrypt
comparison dcrypt/crypto/ciphers/XTEA.d @ 26:176c933827a8
Implemented MD4. Refactored MD5. Replaced all instances of 'version (UnitTest)' with 'debug (UnitTest)'.
author | Thomas Dixon <reikon@reikon.us> |
---|---|
date | Sun, 01 Mar 2009 13:06:48 -0500 |
parents | 4589f8c5eb3c |
children | 8b5eaf3c2979 |
comparison
equal
deleted
inserted
replaced
25:528676d20398 | 26:176c933827a8 |
---|---|
95 | 95 |
96 return BLOCK_SIZE; | 96 return BLOCK_SIZE; |
97 } | 97 } |
98 | 98 |
99 /** Some XTEA test vectors. */ | 99 /** Some XTEA test vectors. */ |
100 version (UnitTest) { | 100 debug (UnitTest) { |
101 unittest { | 101 unittest { |
102 static const char[][] test_keys = [ | 102 static const char[][] test_keys = [ |
103 "00000000000000000000000000000000", | 103 "00000000000000000000000000000000", |
104 "00000000000000000000000000000000", | 104 "00000000000000000000000000000000", |
105 "0123456712345678234567893456789a", | 105 "0123456712345678234567893456789a", |