Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SIV

Index

Constructors

Properties

Methods

Constructors

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

    • cipher: BlockCipherContructor
    • key: Uint8Array

    Returns SIV

Properties

tagLength: number

Methods

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

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

    Returns null | Uint8Array

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

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

    Returns Uint8Array

Generated using TypeDoc