DeriveKey Method
Generates a strong cryptographic key from a password.
Syntax
public void deriveKey(int keyBits, String password, String salt);
Remarks
Use this method to generate a cryptographically strong key of a needed length from a password.
This method uses a general-purpose PBKDF2 function with PRF1 and 2048 iterations.