@li0ard/gost341194
v0.1.5
Published
GOST R 34.11-94 hash function in pure TypeScript
Readme
Installation
# from NPM
npm i @li0ard/gost341194
# from JSR
bunx jsr i @li0ard/gost341194Supported modes
- [x] Hash function
- [x] PBKDF2
Features
- Provides simple and modern API
- Most of the APIs are strictly typed
- Fully complies with GOST R 34.11-94 (RFC 5831) standard
- Supports Bun, Node.js, Deno, Browsers
Examples
import { Gost341194 } from "@li0ard/streebog"
let hash = new Gost341194()
hash.update(new TextEncoder().encode("hello world"))
console.log(hash.digest())