Skip to content
forked from dstucrypt/jkurwa

Ecliptic curves cryptography standard DSTU 4145 in JS

Notifications You must be signed in to change notification settings

sergeypayu/jkurwa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jkurwa

GF2m ellipcit curves library in javascript.

  • Supports short Weierstrass curves used in Ukrainian standard DSTU 4145;
  • Provides key deriviation for DSTU block ciphers (see https://github.com/muromec/em-gost);
  • Encypted containers can be parsed and decrypted if respective cipher implementation is passed. See gost89, node-gost90 and dstucrypt/agent for reference;
  • Encrypted and signed messages in wicked PKCS#7 format used by tax office (sta.gov.ua) are supported for both read and write (see jk.Box, jk.util.transport);
  • When running on node, "speedup" module node-gf2m can be used for 2x performance boost (see dstucrypt/agent and node-gf2m packages).

Warning

  • Jkurwa does not guarranty constant-time calculcation;
  • Jkurwa only verifies signature against public key and does not actually check X.509 certificate validity (use openssl for this).

Yep

Build Status npm module dependencies

Usage

See ./test/ and ./examples/ directories. See dstucrypt/agent repo for example app.

Sister libraries:

Demo site: http://eusign.org/doc

Demo apps: https://github.com/dstucrypt/agent, https://github.com/dstucrypt/dstukeys

References

Bonus

First known use of the word Kurwa was recorded in 1415. Happy 600 birthday Kurwa!

About

Ecliptic curves cryptography standard DSTU 4145 in JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%