Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SIV

Hierarchy

  • SIV

Index

Constructors

Properties

Methods

Constructors

constructor

  • new SIV(cipher: BlockCipherContructor, key: Uint8Array): SIV
  • Parameters

    • cipher: BlockCipherContructor
    • key: Uint8Array

    Returns SIV

Properties

tagLength

tagLength: number

Methods

clean

  • clean(): void

open

  • open(associatedData: Uint8Array[], sealed: Uint8Array, dst?: Uint8Array): Uint8Array | null
  • Parameters

    • associatedData: Uint8Array[]
    • sealed: Uint8Array
    • Optional dst: Uint8Array

    Returns Uint8Array | null

seal

  • seal(associatedData: Uint8Array[], plaintext: Uint8Array, dst?: Uint8Array): Uint8Array
  • Parameters

    • associatedData: Uint8Array[]
    • plaintext: Uint8Array
    • Optional dst: Uint8Array

    Returns Uint8Array

Generated using TypeDoc