Skip to content

Repository files navigation

MD5 bytestring hashing for JavaScript. See docs.

import{alloc}from'@array-like/alloc';import*asasciifrom'@codec-bytes/ascii';import*asbase16from'@codec-bytes/base16';import{md5}from'@string-hashing/md5';conststring='The quick brown fox jumps over the lazy dog';constbytes=ascii.encode(string);constdigest=md5(bytes,bytes.length*8,alloc(16));digest;// [0x9e, 0x10, 0x7d, 0x9d, 0x37, 0x2b, 0xb6, 0x82, 0x6b, 0xd8, ...]base16.decode(digest);// '9E107D9D372BB6826BD81D3542A419D6'

LicenseVersionTestsDependenciesGitHub issuesDownloads

Code issuesCode maintainabilityCode coverage (cov)Code technical debtDocumentationPackage size

About

❓ MD5 bytestring hashing for JavaScript

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages