+
Skip to content

li0ard/gost341194

Repository files navigation

@li0ard/gost341194
GOST R 34.11-94 hash function in pure TypeScript
docs




Installation

# from NPM
npm i @li0ard/gost341194

# from JSR
bunx jsr i @li0ard/gost341194

Supported modes

  • Hash function
  • 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())
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载