comparison dcrypt/crypto/MAC.d @ 15:0de48552be35

Added LimitReachedError and PBKDF2. Fixed some errors with the previous commit in PRNGFromHash, etc. Re-implemented HMAC. Changed the name() format of HMAC and PBKDF2.
author Thomas Dixon <reikon@reikon.us>
date Wed, 19 Nov 2008 19:30:52 -0500
parents 5ce3012f1def
children 4589f8c5eb3c
comparison
equal deleted inserted replaced
14:5ce3012f1def 15:0de48552be35
7 */ 7 */
8 8
9 module dcrypt.crypto.MAC; 9 module dcrypt.crypto.MAC;
10 10
11 public import dcrypt.crypto.params.CipherParameters; 11 public import dcrypt.crypto.params.CipherParameters;
12 public import dcrypt.crypto.params.SymmetricKey;
12 public import dcrypt.crypto.errors.InvalidParameterError; 13 public import dcrypt.crypto.errors.InvalidParameterError;
13 import dcrypt.misc.Util; 14 import dcrypt.misc.Util;
14 15
15 /** Base MAC class */ 16 /** Base MAC class */
16 abstract class MAC { 17 abstract class MAC {