class NaCl::Hash::Blake2b
Defined in:
nacl/hash/blake2b.cr
Constant Summary
-
BYTES_MAX =
LibSodium::CRYPTO_KDF_BLAKE2B_BYTES_MAX
-
BYTES_MIN =
LibSodium::CRYPTO_KDF_BLAKE2B_BYTES_MIN
-
CONTEXTBYTES =
LibSodium::CRYPTO_KDF_BLAKE2B_CONTEXTBYTES
-
EMPTY_PERSONAL =
"\u0000" * PERSONALBYTES
-
EMPTY_SALT =
"\u0000" * SALTBYTES
-
KEYBYTES =
LibSodium::CRYPTO_KDF_BLAKE2B_KEYBYTES
-
KEYBYTES_MAX =
LibSodium::CRYPTO_KDF_BLAKE2B_KEYBYTES_MAX
-
KEYBYTES_MIN =
LibSodium::CRYPTO_KDF_BLAKE2B_KEYBYTES_MIN
-
PERSONALBYTES =
LibSodium::CRYPTO_KDF_BLAKE2B_PERSONALBYTES
-
SALTBYTES =
LibSodium::CRYPTO_KDF_BLAKE2B_SALTBYTES
Constructors
Class Method Summary
Instance Method Summary
Constructor Detail
def self.
new(key =
nil, digest_size =
nil, personal =
nil, salt =
nil)
#
Class Method Detail
def self.
digest(message, key =
nil, digest_size =
nil, salt =
nil, personal =
nil)
#
Instance Method Detail