Skip to content

@tyravel/crypto

Post-quantum cryptography for Tyravel

Install

bash
npm install @tyravel/crypto

Metadata

FieldValue
Version1.0.1
Sourcepackages/crypto
CategoryPlatform services
Node.js>=26

Public exports

From the package entry point (dist/index.d.ts). Deep imports are not supported.

Values

  • CryptoManager
  • DEFAULT_CRYPTO_CONFIG
  • HybridEncryptor
  • MlDsa
  • MlKem
  • PayloadCipher
  • SignedTokenService
  • SlhDsa
  • createKemKeyPair
  • createSignedTokenServiceFromConfig
  • decryptAtRest
  • deriveAtRestKey
  • deserializeKeyMaterial
  • encryptAtRest
  • fromBase64
  • fromUtf8Bytes
  • isHybridAlgorithm
  • isKemAlgorithm
  • isMlDsaAlgorithm
  • isSlhDsaAlgorithm
  • resetNativeSupportCache
  • resolveSessionCipherKey
  • serializeKeyMaterial
  • supportsNativeAlgorithm
  • supportsNativeDsa
  • supportsNativeHybrid
  • supportsNativeKem
  • supportsNativePqc
  • toBase64
  • toUtf8Bytes

Types

  • CryptoAlgorithm
  • CryptoBackend
  • CryptoConfig
  • CryptoOAuthConfig
  • CryptoSessionConfig
  • DsaAlgorithm
  • DsaKeyPair
  • EncapsulationResult
  • EncryptedEnvelope
  • HybridAlgorithm
  • KemAlgorithm
  • KemKeyPair
  • KeyMaterial
  • SerializedKeyMaterial
  • SignedTokenOptions
  • SignedTokenPayload
  • SlhDsaAlgorithm

Guide

See the Post-quantum crypto guide for usage examples.

Released under the MIT License.