Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EncryptionAlgorithm<I, Asym, G>

WebCrypto based encryption algorithm implementation.

Type parameters

  • I = any

  • Asym: boolean = any

  • G = any

Hierarchy

Index

Properties

keyUsages: If<Asym, Record<"private" | "public", KeyUsage[]>, Record<"secret", KeyUsage[]>, {}>
makeLLDecrypt: If<Asym, (key: CryptoAlgorithm.PrivateKey<I>) => LLDecrypt, (key: CryptoAlgorithm.SecretKey<I>) => LLDecrypt, unknown>
makeLLEncrypt: If<Asym, (key: CryptoAlgorithm.PublicKey<I>) => LLEncrypt, (key: CryptoAlgorithm.SecretKey<I>) => LLEncrypt, unknown>
uuid: string

Identifies an algorithm in storage. This should be changed when the serialization format changes.

Methods

Generated using TypeDoc