node-gost-crypto
About
Node.js implementation of WebCrypto API interfaces and Public Key Infrastructure for GOST algorithms (Russian Cryptographic Standards)
Based on library WebCrypto GOST https://github.com/rudonick/crypto
Usage example
Install
$ npm install node-gost-crypto
Usage in Node.js
const gostCrypto gostEngine = ; const str = 'тест'; // $ echo -en '\xD1\x82\xD0\xB5\xD1\x81\xD1\x82' | openssl dgst -md_gost94// 048fcd8d361b7a039bdc3b1906d8128fd3bfd968047ea2b7e930159357388269 const buffer = Buffer; // using engineconst digest = gostEngine;console; // using cryptogostCryptosubtle;
License
MIT