@backblaze-labs/b2-sdk - v0.4.0
    Preparing search index...

    Function sha256Hex

    • Compute the SHA-256 hex digest of a complete byte array in one shot.

      Parameters

      • data: Uint8Array

        The byte array to hash.

      Returns Promise<string>

      The lowercase hex-encoded SHA-256 digest of the input.