Cryptographic hashing functions.
Provides SHA-256, SHA-512, MD5, and HMAC hashing, all returning lowercase hex-encoded strings.
Examples
iex> Apero.Crypto.Hash.sha256("hello")
"2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"
Summary
Functions
HMAC-SHA256 (hex encoded).
MD5 hash (hex encoded). NOTE: MD5 is cryptographically broken — only for checksums.
SHA-256 hash (hex encoded).
SHA-512 hash (hex encoded).
Functions
HMAC-SHA256 (hex encoded).
MD5 hash (hex encoded). NOTE: MD5 is cryptographically broken — only for checksums.
SHA-256 hash (hex encoded).
SHA-512 hash (hex encoded).