PKCS5_PBKDF2

PKCS #5 PBKDF2

Constructors

this
this(MessageAuthenticationCode mac_fn)

Create a PKCS #5 instance using the specified message auth code

Members

Functions

clone
PBKDF clone()
Undocumented in source. Be warned that the author may not have intended to support it.
keyDerivation
Pair!(size_t, OctetString) keyDerivation(size_t key_len, string passphrase, const(ubyte)* salt, size_t salt_len, size_t iterations, Duration loop_for)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From PBKDF

clone
PBKDF clone()
name
string name [@property getter]
Undocumented in source.
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.

Meta