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

    Class Streebog512HMAC

    HMAC over Streebog-512 hash function

    Hierarchy

    Index

    Properties

    blockLen: number

    Bytes processed per compression block.

    canXOF: boolean

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

    outputLen: number

    Bytes produced by digest().

    Methods

    • Copies the current hash state into an existing or new instance.

      Parameters

      Returns _HMAC<Streebog512HMAC>

      Cloned hash state.

    • Creates an independent copy of the current hash state.

      Returns _HMAC<Streebog512HMAC>

      Cloned hash instance.

    • 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

      • out: TArg<Uint8Array<ArrayBufferLike>>

      Returns void

      Nothing. Implementations write into buf in place.

    • Absorbs more message bytes into the running hash state.

      Parameters

      • buf: TArg<Uint8Array<ArrayBufferLike>>

        message chunk to absorb

      Returns this

      The same hash instance for chaining.