Convert a Uint8Array to a lowercase hexadecimal string.
The byte array to convert
A lowercase hex string representation (2 characters per byte)
const bytes = new Uint8Array([0xde, 0xad, 0xbe, 0xef]);bytesToHex(bytes); // "deadbeef" Copy
const bytes = new Uint8Array([0xde, 0xad, 0xbe, 0xef]);bytesToHex(bytes); // "deadbeef"
Convert a Uint8Array to a lowercase hexadecimal string.