@tyravel/crypto
Post-quantum cryptography for Tyravel
Install
bash
npm install @tyravel/cryptoMetadata
| Field | Value |
|---|---|
| Version | 1.0.1 |
| Source | packages/crypto |
| Category | Platform services |
| Node.js | >=26 |
Public exports
From the package entry point (dist/index.d.ts). Deep imports are not supported.
Values
CryptoManagerDEFAULT_CRYPTO_CONFIGHybridEncryptorMlDsaMlKemPayloadCipherSignedTokenServiceSlhDsacreateKemKeyPaircreateSignedTokenServiceFromConfigdecryptAtRestderiveAtRestKeydeserializeKeyMaterialencryptAtRestfromBase64fromUtf8BytesisHybridAlgorithmisKemAlgorithmisMlDsaAlgorithmisSlhDsaAlgorithmresetNativeSupportCacheresolveSessionCipherKeyserializeKeyMaterialsupportsNativeAlgorithmsupportsNativeDsasupportsNativeHybridsupportsNativeKemsupportsNativePqctoBase64toUtf8Bytes
Types
CryptoAlgorithmCryptoBackendCryptoConfigCryptoOAuthConfigCryptoSessionConfigDsaAlgorithmDsaKeyPairEncapsulationResultEncryptedEnvelopeHybridAlgorithmKemAlgorithmKemKeyPairKeyMaterialSerializedKeyMaterialSignedTokenOptionsSignedTokenPayloadSlhDsaAlgorithm
Guide
See the Post-quantum crypto guide for usage examples.