Options
All
  • Public
  • Public/Protected
  • All
Menu

Block cipher.

Hierarchy

  • BlockCipher

Index

Properties

blockSize

blockSize: number

Byte length of cipher block.

Methods

clean

  • clean(): this

decryptBlock

  • decryptBlock(src: Uint8Array, dst: Uint8Array): this
  • 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 this

encryptBlock

  • encryptBlock(src: Uint8Array, dst: Uint8Array): this
  • 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 this

setKey

  • setKey(key: Uint8Array): this

Generated using TypeDoc