UNPKG

tezx

Version:

TezX is a modern, ultra-lightweight, and high-performance JavaScript framework built specifically for Bun. It provides a minimal yet powerful API, seamless environment management, and a high-concurrency HTTP engine for building fast, scalable web applicat

9 lines (8 loc) 282 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.cryptoDigest = cryptoDigest; function cryptoDigest(algo = "md5", data, digest = "hex") { const hasher = new Bun.CryptoHasher(algo); hasher.update(data); return hasher.digest(digest); }