libsodium.crypto_generichash

D language bindings for libsodium's crypto_generichash.h

Members

Aliases

crypto_generichash_state
alias crypto_generichash_state = crypto_generichash_blake2b_state
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

crypto_generichash
int crypto_generichash(ubyte* out_, size_t outlen, const(ubyte)* in_, ulong inlen, const(ubyte)* key, size_t keylen)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash
int crypto_generichash(ubyte[] out_, ubyte[] in_, ubyte[] key)

@safe wrapper around crypto_generichash

crypto_generichash_bytes
size_t crypto_generichash_bytes()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_bytes_max
size_t crypto_generichash_bytes_max()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_bytes_min
size_t crypto_generichash_bytes_min()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_final
int crypto_generichash_final(crypto_generichash_state* state, ubyte* out_, size_t outlen)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_final
int crypto_generichash_final(crypto_generichash_state state, ubyte[] out_)

@safe wrapper around crypto_generichash_final

crypto_generichash_init
int crypto_generichash_init(crypto_generichash_state* state, const(ubyte)* key, size_t keylen, size_t outlen)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_init
int crypto_generichash_init(crypto_generichash_state state, const(ubyte)[] key, size_t outlen)

@safe wrapper around crypto_generichash_init

crypto_generichash_keybytes
size_t crypto_generichash_keybytes()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_keybytes_max
size_t crypto_generichash_keybytes_max()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_keybytes_min
size_t crypto_generichash_keybytes_min()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_keygen
void crypto_generichash_keygen(ubyte[crypto_generichash_KEYBYTES] k)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_primitive
const(char)* crypto_generichash_primitive()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_statebytes
size_t crypto_generichash_statebytes()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_update
int crypto_generichash_update(crypto_generichash_state* state, const(ubyte)* in_, ulong inlen)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_update
int crypto_generichash_update(crypto_generichash_state state, const(ubyte)[] in_)

@safe wrapper around crypto_generichash_update

Manifest constants

crypto_generichash_BYTES
enum crypto_generichash_BYTES;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_BYTES_MAX
enum crypto_generichash_BYTES_MAX;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_BYTES_MIN
enum crypto_generichash_BYTES_MIN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_KEYBYTES
enum crypto_generichash_KEYBYTES;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_KEYBYTES_MAX
enum crypto_generichash_KEYBYTES_MAX;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_KEYBYTES_MIN
enum crypto_generichash_KEYBYTES_MIN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_generichash_PRIMITIVE
enum crypto_generichash_PRIMITIVE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta

License

ISC (see LICENSE.txt)