view dcrypt/crypto/Crypto.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 8c7f8fecdd75
children
line wrap: on
line source

/**
 * This file is part of the dcrypt project.
 *
 * Copyright: Copyright (C) dcrypt contributors 2008. All rights reserved.
 * License:   MIT
 * Authors:   Thomas Dixon
 */

/** Import _everything_ */
module dcrypt.crypto.Crypto;

// Hash functions
public import dcrypt.crypto.Hash;
public import dcrypt.crypto.hashes.MD5;
public import dcrypt.crypto.hashes.SHA1;
public import dcrypt.crypto.hashes.SHA224;
public import dcrypt.crypto.hashes.SHA256;
public import dcrypt.crypto.hashes.SHA384;
public import dcrypt.crypto.hashes.SHA512;

// Message authentication codes
public import dcrypt.crypto.MAC;
public import dcrypt.crypto.macs.HMAC;

// Params
public import dcrypt.crypto.params.SymmetricKey;
public import dcrypt.crypto.params.ParametersWithIV;

// Ciphers
public import dcrypt.crypto.Cipher;
public import dcrypt.crypto.BlockCipher;
public import dcrypt.crypto.StreamCipher;
public import dcrypt.crypto.ManagedBlockCipher;
public import dcrypt.crypto.ciphers.Blowfish;
public import dcrypt.crypto.ciphers.RC6;
public import dcrypt.crypto.ciphers.TEA;
public import dcrypt.crypto.ciphers.XTEA;
public import dcrypt.crypto.ciphers.AES;
public import dcrypt.crypto.ciphers.RC4;

// Block modes
public import dcrypt.crypto.modes.CBC;
public import dcrypt.crypto.modes.CTR;

// Block padding
public import dcrypt.crypto.BlockCipherPadding;
public import dcrypt.crypto.padding.NullByte;
public import dcrypt.crypto.padding.X923;
public import dcrypt.crypto.padding.PKCS7;
public import dcrypt.crypto.padding.RFC1321;