class NaCl::Hash::Blake2b
- NaCl::Hash::Blake2b
- Reference
- Object
Defined in:
nacl/hash/blake2b.crConstant 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 : Pointer(UInt8) | Nil = nil, digest_size = nil, personal : Pointer(UInt8) | Nil = nil, salt : Pointer(UInt8) | Nil = nil)
#