Default implementation for SymmetricEncryptionInterface.

Implements

Constructors

Methods

Constructors

Methods

  • Parameters

    • message: string
    • key: CryptographyKey
    • OptionalassocData: string

    Returns Promise<string | Buffer>

  • Parameters

    • message: string | Buffer
    • key: CryptographyKey
    • OptionalassocData: string

    Returns Promise<string>