Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
🧮 Features based upon Web Crypto APIs
Convert hexadecimal string representation to bytes.
Decrypt message encrypted by encrypt function with specified key.
Encrypt message with key.
Generate encryption key from seed and salt.
Hash string and return hexadecimal string representation.
Convert bytes to hexadecimal string representation.
Returns an URL that can be used to be added in a authenticator application.
Issue a new Time-based OTP secret.
Returns a Time-based OTP.
Verify Time-based OTP.
encryption
This module contains a symmetric encryption (using AES-GCM 256 with a PBKDF2 derived key) function.
Convert hexadecimal string representation to bytes.
Decrypt message encrypted by encrypt function with specified key.
Encrypt message with key.
Generate encryption key from seed and salt.
Hash string and return hexadecimal string representation.
Convert bytes to hexadecimal string representation.
totp
Time-based One-Time Password (TOTP) library.