Skip to main content

Module util

Module util 

Source

Enumsยง

HkdfExpandError ๐Ÿ”’

Constantsยง

CLEARED_STACK_SIZE ๐Ÿ”’
Size of the stack region clear_stack overwrites.
PBKDF_SHA256_HMAC_OUT_SIZE ๐Ÿ”’

Functionsยง

clear_stack ๐Ÿ”’
Overwrites the stack region below the caller with zeros.
generate_random_alphanumeric
Generate a random alphanumeric string of a given length
generate_random_bytes
Generate random bytes that are cryptographically secure
hkdf_expand ๐Ÿ”’
RFC5869 HKDF-Expand operation
pbkdf2
Derive pbkdf2 of a given password and salt

Type Aliasesยง

PbkdfSha256Hmac ๐Ÿ”’