Skip to main content
Module

x/json_hash/hex.ts>toHex

JCS (JSON Canonicalization Scheme), JSON digests, and JSON Merkle hashes
Latest
function toHex
import { toHex } from "https://deno.land/x/json_hash@0.2.0/hex.ts";

Turns a Uint8Array into a hexadecimal string.

Parameters

bytes: Uint8Array

The bytes to convert.

Returns

string

The hexadecimal string. The string will be lowercase.