edu.vt.middleware.crypt.pbe
Class PBES2EncryptionScheme
java.lang.Object
edu.vt.middleware.crypt.pbe.AbstractEncryptionScheme
edu.vt.middleware.crypt.pbe.AbstractVariableKeySizeEncryptionScheme
edu.vt.middleware.crypt.pbe.PBES2EncryptionScheme
- All Implemented Interfaces:
- EncryptionScheme
public class PBES2EncryptionScheme
- extends AbstractVariableKeySizeEncryptionScheme
Implements the PBES2 encryption scheme defined in PKCS#5v2.
- Version:
- $Revision: 1818 $
- Author:
- Middleware Services
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PBES2EncryptionScheme
public PBES2EncryptionScheme(SymmetricAlgorithm alg,
PBKDF2Parameters params)
- Creates a new instance with the given parameters.
- Parameters:
alg - Symmetric cipher algorithm used for encryption/decryption. The
cipher is expected to be initialized with whatever initialization data is
required for encryption/decryption, e.g. initialization vector.params - Container for required salt, iterations, and key length.
Copyright © 2003-2011 Virginia Tech. All Rights Reserved.