CCC Docs
    Preparing search index...

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Finalizes the hash and returns the digest as a hexadecimal string.

      Returns `0x${string}`

      The hexadecimal string representation of the hash.

      const hasher = new Hasher();
      hasher.update("some data");
      const hash = hasher.digest(); // Outputs something like "0x..."