Options
All
  • Public
  • Public/Protected
  • All
Menu

BLAKE2Xs extensible output function.

Hierarchy

  • BLAKE2Xs

Implements

  • Hash

Index

Constructors

constructor

  • Creates a new BLAKE2Xs instance with the given digest length. If digest length is not given, it's considered unknown in advance, thus allowing to generate any number of bytes up to 2^32-1.

    Parameters

    • Default value digestLength: number = UNKNOWN_DIGEST_LENGTH
    • Optional config: Config

    Returns BLAKE2Xs

Properties

blockSize

blockSize: 64 = BLOCK_SIZE

digestLength

digestLength: number

finish

finish: stream = this.stream

Methods

clean

  • clean(): void

digest

  • digest(): Uint8Array

reset

  • reset(): this

stream

  • stream(dst: Uint8Array): this

update

  • update(data: Uint8Array, dataLength?: number): this
  • Parameters

    • data: Uint8Array
    • Default value dataLength: number = data.length

    Returns this

Generated using TypeDoc