Coder Social home page Coder Social logo

the-mike / jkurwa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dstucrypt/jkurwa

0.0 1.0 0.0 943 KB

Ecliptic curves cryptography standard DSTU 4145 in JS

Home Page: https://www.gitbook.io/content/book/muromec/jkuwra/

JavaScript 100.00%

jkurwa's Introduction

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!

jkurwa's People

Contributors

magister avatar muromec avatar vanuan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.