pbes2Encrypt

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

static if(BOTAN_HAS_PBE_PKCS_V20)
Pair!(AlgorithmIdentifier, Array!ubyte)
pbes2Encrypt
()
(
auto const ref SecureVector!ubyte key_bits
,
const string passphrase
,
Duration msec
,
const string cipher
,
const string digest
,,)

Meta