ddn.crypto.kdf.argon2
Argon2id Key Derivation Function (RFC 9106).
class Argon2id
Types 1
classArgon2id : KDF
Argon2id KDF Implementation.
Uses the Argon2id variant of the Argon2 password hashing scheme. Suitable for password hashing and key derivation.
Fields
private uint _tprivate uint _mprivate uint _pprivate int _versionMethods
ubyte[] derive(const(ubyte)[] secret, const(ubyte)[] salt, size_t length)Constructors
this(uint t, uint m, uint p, int version_ = 0x13)Constructs an Argon2id KDF with the given parameters.