https://github.com/permutationlock/ecc_js
Implementation of Elliptic Curves in JavaScript for use in Diffie-Hellman key exchange.
https://github.com/permutationlock/ecc_js
Last synced: 4 months ago
JSON representation
Implementation of Elliptic Curves in JavaScript for use in Diffie-Hellman key exchange.
- Host: GitHub
- URL: https://github.com/permutationlock/ecc_js
- Owner: permutationlock
- License: mit
- Created: 2015-07-16T00:41:47.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-16T00:45:55.000Z (almost 10 years ago)
- Last Synced: 2025-01-14T15:42:06.526Z (6 months ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
- License: LICENSE
Awesome Lists containing this project
README
Eliptic Curve Cryptography in JavaScript
Bitcoin curve and Jacobian optimization
----------------------------------------
This is an implimentation of eliptic curves and corresponding
cryptographical functions to allow for key sharing.Utilizes internal jacobian coordinates to avoid division operations.
Default setup uses the bitcoin eliptic curve parameters.
Large integer operations are done using the BigInteger.js library:
https://github.com/peterolson/BigInteger.jsEliptic curve code is based on Orion Lawlor's python implementation:
https://www.cs.uaf.edu/2015/spring/cs463/lecture/02_27_ECC_jacobi/ECC_bitcoin_jacobi.py