wrapper.sodium.crypto_pwhash

Undocumented in source.

Public Imports

deimos.sodium.crypto_pwhash
public import deimos.sodium.crypto_pwhash : crypto_pwhash_ALG_ARGON2I13, crypto_pwhash_alg_argon2i13, crypto_pwhash_ALG_DEFAULT, crypto_pwhash_alg_default, crypto_pwhash_BYTES_MIN, crypto_pwhash_bytes_min, crypto_pwhash_BYTES_MAX, crypto_pwhash_bytes_max, crypto_pwhash_PASSWD_MIN, crypto_pwhash_passwd_min, crypto_pwhash_PASSWD_MAX, crypto_pwhash_passwd_max, crypto_pwhash_SALTBYTES, crypto_pwhash_saltbytes, crypto_pwhash_STRBYTES, crypto_pwhash_strbytes, crypto_pwhash_STRPREFIX, crypto_pwhash_OPSLIMIT_MIN, crypto_pwhash_opslimit_min, crypto_pwhash_OPSLIMIT_MAX, crypto_pwhash_opslimit_max, crypto_pwhash_MEMLIMIT_MIN, crypto_pwhash_memlimit_min, crypto_pwhash_MEMLIMIT_MAX, crypto_pwhash_memlimit_max, crypto_pwhash_OPSLIMIT_INTERACTIVE, crypto_pwhash_opslimit_interactive, crypto_pwhash_MEMLIMIT_INTERACTIVE, crypto_pwhash_memlimit_interactive, crypto_pwhash_OPSLIMIT_MODERATE, crypto_pwhash_opslimit_moderate, crypto_pwhash_MEMLIMIT_MODERATE, crypto_pwhash_memlimit_moderate, crypto_pwhash_OPSLIMIT_SENSITIVE, crypto_pwhash_opslimit_sensitive, crypto_pwhash_MEMLIMIT_SENSITIVE, crypto_pwhash_memlimit_sensitive, crypto_pwhash_PRIMITIVE;

Members

Aliases

crypto_pwhash
alias crypto_pwhash = deimos.sodium.crypto_pwhash.crypto_pwhash
Undocumented in source.
crypto_pwhash_str
alias crypto_pwhash_str = deimos.sodium.crypto_pwhash.crypto_pwhash_str

Password storage hash generation (with same parameters as used for key derivation)

crypto_pwhash_str_verify
alias crypto_pwhash_str_verify = deimos.sodium.crypto_pwhash.crypto_pwhash_str_verify

Password storage hash verification

Functions

crypto_pwhash
bool crypto_pwhash(ubyte[] out_, string passwd, ubyte[crypto_pwhash_SALTBYTES] salt, ulong opslimit, size_t memlimit, int alg)

Key derivation

crypto_pwhash_primitive
string crypto_pwhash_primitive()
Undocumented in source. Be warned that the author may not have intended to support it.
crypto_pwhash_str
bool crypto_pwhash_str(char[crypto_pwhash_STRBYTES] out_, string passwd, ulong opslimit, size_t memlimit)
Undocumented in source. Be warned that the author may not have intended to support it.
crypto_pwhash_str_verify
bool crypto_pwhash_str_verify(char[crypto_pwhash_STRBYTES] str, string passwd)
Undocumented in source. Be warned that the author may not have intended to support it.
crypto_pwhash_strprefix
string crypto_pwhash_strprefix()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta