Module ocrypt

Module ocrypt 

Source
Expand description

Ocrypt - Drop-in replacement for password hashing functions

Ocrypt provides a simple 3-function API that replaces traditional password hashing functions (bcrypt, scrypt, Argon2, PBKDF2) with OpenADP’s distributed threshold cryptography for nation-state-resistant password protection.

Structs§

OcryptMetadata
Ocrypt metadata format
WrappedSecret
Wrapped secret data

Functions§

recover
Recover a long-term secret using the PIN with automatic backup refresh.
recover_and_reregister
Recover a long-term secret and reregister with completely fresh metadata.
register
Register a long-term secret protected by a PIN using OpenADP distributed cryptography.