Options
All
  • Public
  • Public/Protected
  • All
Menu

BLAKE2Xs extensible output function.

Hierarchy

  • BLAKE2Xs

Implements

  • Hash

Index

Constructors

  • new BLAKE2Xs(digestLength?: number, config?: Config): BLAKE2Xs
  • 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

    • digestLength: number = UNKNOWN_DIGEST_LENGTH
    • Optional config: Config

    Returns BLAKE2Xs

Properties

blockSize: 64 = BLOCK_SIZE
digestLength: number = UNKNOWN_DIGEST_LENGTH
finish: (dst: Uint8Array) => BLAKE2Xs = ...

Type declaration

Methods

  • clean(): void
  • digest(): Uint8Array
  • update(data: Uint8Array, dataLength?: number): BLAKE2Xs

Generated using TypeDoc