Skip to main content
Module

x/live/utils/encoding.ts>stringToHexSha256

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Very Popular
Go to Latest
variable stringToHexSha256
import { stringToHexSha256 } from "https://deno.land/x/live@1.75.5/utils/encoding.ts";

Takes an arbitrary string and converts to its sha256 hex representation.

type

(str: string) => Promise<string>