Mercurial > projects > dcrypt
diff dcrypt/crypto/MAC.d @ 23:4589f8c5eb3c
Replaced dcrypt.crypto.Util with dcrypt.misc.Bitwise and dcrypt.misc.ByteConverter. Altered all dependent files to reflect changes.
author | Thomas Dixon <reikon@reikon.us> |
---|---|
date | Sat, 14 Feb 2009 19:58:20 -0500 |
parents | 0de48552be35 |
children | 8b5eaf3c2979 |
line wrap: on
line diff
--- a/dcrypt/crypto/MAC.d Sat Jan 10 13:17:58 2009 -0500 +++ b/dcrypt/crypto/MAC.d Sat Feb 14 19:58:20 2009 -0500 @@ -11,7 +11,7 @@ public import dcrypt.crypto.params.CipherParameters; public import dcrypt.crypto.params.SymmetricKey; public import dcrypt.crypto.errors.InvalidParameterError; -import dcrypt.misc.Util; +import dcrypt.misc.ByteConverter; /** Base MAC class */ abstract class MAC { @@ -48,6 +48,6 @@ /** Returns: The computed MAC in hexadecimal. */ char[] hexDigest() { - return Util.ubytesToHex(digest()); + return ByteConverter.hexEncode(digest()); } -} \ No newline at end of file +}