PKCS5_PBKDF1

PKCS #5 v1 PBKDF, aka PBKDF1 Can only generate a key up to the size of the hash output. Unless needed for backwards compatability, use PKCS5_PBKDF2

Constructors

this
this(HashFunction hash_input)

Create a PKCS #5 instance using the specified hash function.

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