Commit Graph

23 Commits

Author SHA1 Message Date
Erik Nilsson
98f7eec7e7 eccrypto.generatePrivate() (#38)
* eccrypto.generatePrivate()

* Fix comment indentation
2019-03-23 19:02:32 -06:00
Jordan Baczuk
1ac5b09ce5
1.1 (#34)
1.1.0
2018-12-11 07:47:43 -07:00
Jordan Baczuk
6f33fdbe1c Fix getRandomValues on ie11. Fixes #28 2018-11-15 20:14:40 -07:00
Kagami Hiiragi
58604cc9d7 Better check for input args in derive 2015-07-13 22:03:42 +03:00
Chad Engler
0ebe1f0be6 add fallback to browser is secp256k1 2015-05-27 08:29:18 -07:00
Kagami Hiiragi
0101427024 Pass null instead of undefined on .verify 2015-02-10 16:52:38 +03:00
Kagami Hiiragi
5311484662 Better handling of crypto object 2015-01-21 20:26:01 +03:00
Kagami Hiiragi
4351c28a6c Add more input checkings 2015-01-21 03:04:56 +03:00
Kagami Hiiragi
69745567ff Enable canonical mode in elliptic
See indutny/elliptic#24 for details.
2015-01-21 02:20:28 +03:00
Kagami Hiiragi
53d878da8e Some fixes 2015-01-20 23:18:03 +03:00
Kagami Hiiragi
98a0913340 Update for elliptic 2.0 2015-01-18 23:23:16 +03:00
Kagami Hiiragi
6aec8a3318 Docs, cosmetics 2015-01-14 03:09:37 +03:00
Kagami Hiiragi
1cf476250a ECIES (Node) 2015-01-14 02:29:39 +03:00
Kagami Hiiragi
cd217b2d02 ECIES (Browser) 2015-01-13 16:21:11 +03:00
Kagami Hiiragi
9a9555a797 ECDH (Browser) 2015-01-12 22:17:29 +03:00
Kagami Hiiragi
e723993d1c Refactoring 2015-01-12 20:50:21 +03:00
Kagami Hiiragi
3aea60e875 Add comment about promises 2015-01-07 21:47:41 +03:00
Kagami Hiiragi
f10072c932 Do not overwrite global variables
Also do not use Promise shim in browsers since it's supported natively
by new browsers (and we can use only new browsers because of the
WebCryptoAPI).
2015-01-06 14:21:46 +03:00
Kagami Hiiragi
eabb541b95 Do not use assert module 2015-01-06 02:49:32 +03:00
Kagami Hiiragi
513d880c64 Check private key length in getPublic 2014-12-27 15:47:25 +03:00
Kagami Hiiragi
bc3e660761 Accept private key too when verify 2014-12-26 20:48:39 +03:00
Kagami Hiiragi
b39277ba24 Browser ECDSA with the help of elliptic 2014-12-25 18:45:43 +03:00
Kagami Hiiragi
e23721404b Initial commit 2014-12-21 20:46:37 +03:00