Provides PKCS #5 Key Derivation Function 1 pseudo random number generation.
This is provided for compatibility with existing applications and is not recommended
for new applications due to its limited output length. The output length of this
KDF is determined by the output length of the supplied digest.

We implemented the PKCS5 KDF1 as per PKCS #5 version 2.0 ( March 1999 ).

Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

PKCS5KDF1PseudoRandomSource

Creates a PKCS5KDF1PseudoRandomSource object using the specified parameters
and a SHA-1 digest.

Parameters:

password - The password to use.

salt - The salt data that is hashed to generate the key data.

iterationCount - The number of times to hash the password and salt.

Category:

Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

PKCS5KDF1PseudoRandomSource

Creates a PKCS5KDF1PseudoRandomSource object using the supplied parameters
and a SHA-1 digest.

Parameters:

password - The password to use.

offset - The offset, or starting position, of the password data
within the array.

length - The number of bytes to use as password data.

salt - The salt data that is hashed to generate the key data.

iterationCount - The number of times to hash the password and salt.

Category:

Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

PKCS5KDF1PseudoRandomSource

Creates a PKCS5KDF1PseudoRandomSource object using the supplied parameters
and the specified digest.

Parameters:

password - The password to use.

offset - The offset, or starting position, of the password data
within the array.

length - The number of bytes to use as password data.

salt - The salt data that is hashed to generate the key data. It is recommended that the salt is 8 bytes
or more in length for security.

iterationCount - The number of times to hash the password and salt.

digest - The digest to use for hashing.

Category:

Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

An integer that specifies the maximum number of random bytes that
can be produced.

Category:

Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.