0.1.11 • Published 1 year ago

@jcayzac/utils-digest v0.1.11

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@jcayzac/utils-digest

SHA-256 digest as a hexadecimal string.

license npm version npm downloads bundle

Documentation

Installation

# pnpm
pnpm add @jcayzac/utils-digest

# bun
bunx add @jcayzac/utils-digest

# npm
npx add @jcayzac/utils-digest

# yarn
yarn add @jcayzac/utils-digest

# deno
deno add npm:@jcayzac/utils-digest

Usage

import digest from '@jcayzac/utils-digest'

const buffer = new TextEncoder().encode('Hello, World!')
console.log(await digest(buffer))
// dffd6021bb2bd5b0af676290809ec3a53191dd81c7f70a4b28688a362182986f

Like it? Buy me a coffee!

If you like anything here, consider buying me a coffee using one of the following platforms:

GitHub Sponsors Revolut Wise Ko-Fi PayPal


0.1.11

1 year ago

0.1.10

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago