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

    Function sha1Hex

    • Compute the SHA-1 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-1 digest of the input.