Skip to main content
Module

x/scrypt/deps.ts>encodeHex

🔑 Deno library for hashing passwords using scrypt
Go to Latest
function encodeHex
import { encodeHex } from "https://deno.land/x/scrypt@v4.3.4/deps.ts";

Converts data into a hex-encoded string.

Examples

Example 1

import { encodeHex } from "https://deno.land/std@0.224.0/encoding/hex.ts";

encodeHex("abc"); // "616263"

Parameters

src: string | Uint8Array | ArrayBuffer

Returns

string