pbkdf2

Derive a key from a password and a salt using multiple iterations.

@safe
void
pbkdf2
(
D
)
(
ubyte[] derivedKey
,
in ubyte[] password
,
in ubyte[] salt
,
)
if (
isDigest!D
)

Parameters

derivedKey
Type: ubyte[]

Output buffer for derived key. Slice will be filled.

password
Type: ubyte[]

Password.

salt
Type: ubyte[]

Salt.

iterationCount
Type: uint

Number of iterations.

Meta