API Reference / @evolu/common / Crypto
Crypto
🔒
Interfaces
Interface | Description |
---|---|
CreateMnemonicDep | - |
CreateRandomBytesDep | - |
SymmetricCrypto | Symmetric cryptography. |
SymmetricCryptoDecryptError | - |
SymmetricCryptoDep | - |
Type Aliases
Type Alias | Description |
---|---|
CreateMnemonic | - |
CreateRandomBytes | - |
EncryptionKey | - |
MnemonicSeed | - |
RandomBytes | Uint8Array created by createRandomBytes. |
Variables
Variable | Description |
---|---|
createEnglishMnemonic | - |
createRandomBytes | Cryptographically secure PRNG. Uses internal OS-level crypto.getRandomValues. |
EncryptionKey | The encryption key for SymmetricCrypto. |
Functions
Function | Description |
---|---|
createEncryptionKey | - |
createSlip21 | SLIP21. |
createSlip21Id | Creates a 21-character Base64URL ID (also known as nanoid) from a SLIP-21 derived key. |
createSymmetricCrypto | XChaCha20-Poly1305 encryption |
mnemonicToMnemonicSeed | - |