@rendley/sdk - v1.15.5
    Preparing search index...

    Function createMediaHash

    • Computes a stable SHA-256 hash for media bytes.

      The browser SubtleCrypto implementation is used when available for performance. A CryptoJS fallback keeps the helper working in environments where Web Crypto is unavailable or partially polyfilled.

      Parameters

      • data: Uint8Array

        Raw media bytes to hash.

      Returns Promise<string>

      Lowercase hexadecimal SHA-256 digest.