PBKDF

Base class for PBKDF (password based key derivation function) implementations. Converts a password into a key using a salt and iterated hashing to make brute force attacks harder.

Members

Functions

clone
PBKDF clone()
deriveKey
OctetString deriveKey(size_t output_len, string passphrase, const(ubyte)* salt, size_t salt_len, size_t iterations)

Derive a key from a passphrase

deriveKey
OctetString deriveKey(size_t output_len, string passphrase, Vector!(ubyte, Alloc) salt, size_t iterations)

Derive a key from a passphrase

deriveKey
OctetString deriveKey(size_t output_len, string passphrase, const(ubyte)* salt, size_t salt_len, Duration loop_for, size_t iterations)

Derive a key from a passphrase

deriveKey
OctetString deriveKey(size_t output_len, string passphrase, Vector!(ubyte, Alloc) salt, Duration loop_for, size_t iterations)

Derive a key from a passphrase using a certain amount of time

keyDerivation
Pair!(size_t, OctetString) keyDerivation(size_t output_len, string passphrase, const(ubyte)* salt, size_t salt_len, size_t iterations, Duration loop_for)

Derive a key from a passphrase for a number of iterations specified by either iterations or if iterations == 0 then running until seconds time has elapsed.

Properties

name
string name [@property getter]
Undocumented in source.

Meta