Options
All
  • Public
  • Public/Protected
  • All
Menu

Block cipher interface.

Hierarchy

  • BlockCipher

Index

Properties

blockSize: number

Byte length of cipher block.

Methods

  • decryptBlock(src: Uint8Array, dst: Uint8Array): BlockCipher
  • Decrypts one block of data in src and puts the result into dst.

    Src and dst may be equal, but otherwise must not overlap.

    Parameters

    • src: Uint8Array
    • dst: Uint8Array

    Returns BlockCipher

  • encryptBlock(src: Uint8Array, dst: Uint8Array): BlockCipher
  • Encrypts one block of data in src and puts the result into dst.

    Src and dst may be equal, but otherwise must not overlap.

    Parameters

    • src: Uint8Array
    • dst: Uint8Array

    Returns BlockCipher

Generated using TypeDoc