Commit Graph

22 Commits

Author SHA1 Message Date
Chad Engler
3922b1b4ab move ecdh load into try{}; add fallback override env var 2015-05-28 06:57:06 -07:00
Chad Engler
365674f622 fix jshint issue 2015-05-27 08:39:33 -07: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
9dbecf0592 Update to latest secp256k1-node 2015-01-28 16:14:17 +03:00
Kagami Hiiragi
9f0bbd6aa2 Fix 2015-01-21 03:06:23 +03:00
Kagami Hiiragi
4351c28a6c Add more input checkings 2015-01-21 03:04:56 +03:00
Kagami Hiiragi
a95815cc7a Fix for short messages
Zero-pad it for secp256k1
2015-01-20 23:17:25 +03:00
Kagami Hiiragi
1cf476250a ECIES (Node) 2015-01-14 02:29:39 +03:00
Kagami Hiiragi
4e1001a842 ECDH (Node) 2015-01-13 22:39:37 +03:00
Kagami Hiiragi
cd217b2d02 ECIES (Browser) 2015-01-13 16:21:11 +03:00
Kagami Hiiragi
4e3f857332 Fix API 2015-01-13 15:11:53 +03:00
Kagami Hiiragi
e723993d1c Refactoring 2015-01-12 20:50:21 +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
ae968011a8 Fix doc strings 2015-01-02 18:21:24 +03:00
Kagami Hiiragi
b9f504f800 Remove boilerplate 2015-01-02 16:47:09 +03:00
Kagami Hiiragi
f8c682da07 Typo fix 2014-12-26 21:02:01 +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
e103615f49 Implement sign/verify for node implementation 2014-12-24 02:14:28 +03:00
Kagami Hiiragi
bade7b61fa Start to implement node wrapper 2014-12-23 23:28:40 +03:00
Kagami Hiiragi
e23721404b Initial commit 2014-12-21 20:46:37 +03:00