Interface AesEncryption<I, G>

WebCrypto based encryption algorithm implementation.

Type Parameters

  • I

  • G extends AesGenParams

Hierarchy

Properties

cryptoGenerate: ((params, extractable) => Promise<GeneratedSecretKey<I>>)

Type declaration

importSpki?: ((spki, der) => Promise<CryptoAlgorithm.PublicKey<I>>)

Type declaration

ivLength: number
keyUsages: Record<"secret", readonly KeyUsage[]>
makeAesKeyGenParams: ((genParams) => AesKeyGenParams)

Type declaration

    • (genParams): AesKeyGenParams
    • Parameters

      • genParams: G

      Returns AesKeyGenParams

makeLLDecrypt: ((key) => LLDecrypt)

Type declaration

makeLLEncrypt: ((key) => LLEncrypt)

Type declaration

uuid: string

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

Generated using TypeDoc