Module orion::default[][src]

Higher-level API with safer defaults.

Functions

hkdf

HKDF-HMAC-SHA512.

hkdf_verify

Verify an HKDF-HMAC-SHA512 derived key in constant time. Both derived keys must be of equal length.

hmac

HMAC with SHA512.

hmac_verify

Verify an HMAC against a key and data in constant time and with Double-HMAC Verification.

pbkdf2

PBKDF2-HMAC-SHA512 derived key, using 512.000 as iteration count.

pbkdf2_verify

Verify PBKDF2-HMAC-SHA512 derived key, using 512.000 as iteration count, in constant time. Both derived keys must be of equal length.