@pwngh/economy-lab
    Preparing search index...

    Function toHex

    Encodes bytes as lowercase hex, the inverse of fromHex. Hand-rolled so it exists on every target runtime (no Buffer); the result feeds cross-runtime hashes, so lowercase is the only spelling it ever produces.

    • Lowercase hex, hand-written because neither Buffer nor Uint8Array.prototype.toHex exists on every target runtime, and the result feeds cross-runtime hashes.

      Parameters

      • bytes: Uint8Array

      Returns string

      Integrity for the hash chain these hex helpers feed.