PKCS5S2ParametersGenerator

Generator for PBE derived keys and ivs as defined by PKCS 5 V2.0 Scheme 2. This generator uses a SHA-1 HMac as the calculation function.

The document this implementation is based on can be found at <a href=http://www.rsasecurity.com/rsalabs/pkcs/pkcs-5/index.html> RSA's PKCS5 Page</a>

Members

Functions

generateDerivedMacParameters
KeyParameter generateDerivedMacParameters(uint keySize)

Generate a key parameter for use with a MAC derived from the password, salt, and iteration count we are currently initialized with.

generateDerivedParameters
ParametersWithIV generateDerivedParameters(uint keySize, uint ivSize)

Generate a key with initialization vector parameter derived from the password, salt, and iteration count we are currently initialized with.

generateDerivedParameters
KeyParameter generateDerivedParameters(uint keySize)

Generate a key parameter derived from the password, salt, and iteration count we are currently initialised with.

getAlgorithmName
string getAlgorithmName()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta