Commit Graph

28 Commits

Author SHA1 Message Date
Lee Miller a9822c14d4
Change tests: update some samples for encryption, comment a test for bad R:
is probably not suitable for the encoded key.
2023-01-03 18:01:06 +02:00
Lee Miller e868b2c34f
Update tests: reproduce the MAC failure. 2023-01-03 18:00:44 +02:00
Lee Miller b12015528a
Update tests: add hashes. 2023-01-03 18:00:44 +02:00
Zhen Yu Yong bd98514832 removed duplicate test 2020-08-05 08:24:29 -06:00
Zhen Yu Yong 5740ba895a fixed test 2020-08-05 08:24:29 -06:00
Zhen Yu Yong 83e7e4582c wrote test 2020-08-05 08:24:29 -06:00
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
Kagami Hiiragi 58604cc9d7 Better check for input args in `derive` 2015-07-13 22:03:42 +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 a95815cc7a Fix for short messages
Zero-pad it for secp256k1
2015-01-20 23:17:25 +03:00
Kagami Hiiragi 98a0913340 Update for elliptic 2.0 2015-01-18 23:23:16 +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 9a9555a797 ECDH (Browser) 2015-01-12 22:17:29 +03:00
Kagami Hiiragi fb178bf19b Add usages, improve README 2014-12-28 14:02:28 +03:00
Kagami Hiiragi 513d880c64 Check private key length in getPublic 2014-12-27 15:47:25 +03:00
Kagami Hiiragi dc1046d528 Fix test 2014-12-26 20:58:36 +03:00
Kagami Hiiragi bc3e660761 Accept private key too when verify 2014-12-26 20:48:39 +03:00
Kagami Hiiragi 48c36715c1 Fix test 2014-12-25 19:01:52 +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 64db422e9d Setup karma 2014-12-21 21:05:05 +03:00
Kagami Hiiragi e23721404b Initial commit 2014-12-21 20:46:37 +03:00