Decrypt a PKCS #5 v2.0 encrypted stream key_bits = the input passphrase = the passphrase to use for decryption params = the PBES2 parameters
Encrypt with PBES2 from PKCS #5 v2.0 key_bits = the passphrase to use for encryption msec = how many milliseconds to run PBKDF2 cipher = specifies the block cipher to use to encrypt digest = specifies the PRF to use with PBKDF2 (eg "HMAC(SHA-1)") rng = a random number generator
Botan is released under the Simplified BSD License (see LICENSE.md)
(C) 1999-2007,2014 Jack Lloyd (C) 2014-2015 Etienne Cimon
PKCS #5 v2.0 PBE