@li0ard/gost - v0.1.4
    Preparing search index...

    Class Streebog256

    Streebog-256 (GOST R 34.11-2012) hash function

    Hierarchy

    Index

    Constructors

    Properties

    blockLen: 64 = BLOCKSIZE

    Bytes processed per compression block.

    canXOF: false

    Whether the instance supports XOF-style variable-length output via xof() / xofInto().

    outputLen: number

    Bytes produced by digest().

    Methods

    • Wipes internal state and makes the instance unusable.

      Returns void

    • Finalizes the hash and returns a freshly allocated digest.

      Returns Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>

      Digest bytes.

    • Finalizes the hash into a caller-provided buffer.

      Parameters

      • buf: TArg<Uint8Array<ArrayBufferLike>>

        destination buffer

      Returns void

      Nothing. Implementations write into buf in place.

    • Absorbs more message bytes into the running hash state.

      Parameters

      • data: TArg<Uint8Array<ArrayBufferLike>>

      Returns this

      The same hash instance for chaining.