Can some point me in the right direction?
I'd like to use JCE/JCA to derive a new key from a master secret key, How can I achieve this?
Regards.
Can some point me in the right direction?
I'd like to use JCE/JCA to derive a new key from a master secret key, How can I achieve this?
Regards.
The JCA provides standard password-based key derivation functions like PBKDF2 defined in PKCS#5 v2.0 and RFC 2898. This algorithm creates some random material from a master secret (a password) in order to generate a key suitable for a given cipher.