KeyDerivationCore

Key derivation wrapper base class

Constructors

this
this(ubyte[] passphrase, ubyte[] salt)

Constructor

Members

Functions

derive
ubyte[] derive(ulong iterations, ubyte[] key_buf)

Derive a key using the given number of iterations, store it in the given buffer. The length of the buffer must be the same as the expected length of the generated key.

Parameters

algorithm

The KDF algorithm to use

hasher

The pseudorandom hashing function to use

Meta