Module orion::default[][src]

High-level API with safer defaults. Includes HMAC, HKDF and PBKDF2.

Functions

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.