Module orion::default [−][src]
High-level API with safer defaults. Includes HMAC, HKDF, PBKDF2 and cSHAKE.
Functions
cshake |
cSHAKE256. |
cshake_verify |
Verify a cSHAKE256 hash in constant time. The expected hash must be of length 64. |
hkdf |
HKDF-HMAC-SHA512/256. |
hkdf_verify |
Verify an HKDF-HMAC-SHA512/256 derived key in constant time. Both derived keys must be of equal length. |
hmac |
HMAC-SHA512/256. |
hmac_verify |
Verify an HMAC-SHA512/256 against a key and data in constant time, with Double-HMAC Verification. |
pbkdf2 |
PBKDF2-HMAC-SHA512/256. Suitable for password storage. |
pbkdf2_verify |
Verify PBKDF2-HMAC-SHA512/256 derived key in constant time. |