Commit Graph

194 Commits

Author SHA1 Message Date
Paul Miller
d77ac16f51
Bring back common.js for now. Need more thorough work with consumers 2023-03-14 00:32:09 +01:00
Paul Miller
fe68da61f6
Move stark curve to micro-starknet 2023-03-10 20:18:05 +01:00
Paul Miller
32c0841bed
Add Trail of Bits audit 2023-03-10 01:09:49 +01:00
Paul Miller
49a659b248
Release 0.8.0. 0.8.0 2023-03-03 05:12:36 +04:00
Paul Miller
9d0a2e25dc
readme: esm-only 2023-03-03 05:11:21 +04:00
Paul Miller
7c461af2b2
test: remove common.js support 2023-03-03 05:09:50 +04:00
Paul Miller
4a8f447c8d
package.json, tsconfig: remove common.js support. Pure ESM now 2023-03-03 05:09:36 +04:00
Paul Miller
4b2d31ce7f
stark: more methods 2023-02-28 23:18:06 +04:00
Paul Miller
16115f27a6
readme update 2023-02-28 14:04:15 +04:00
Paul Miller
0e0d0f530d
benchmark: add tonneli-shanks sqrt 2023-02-28 02:59:28 +04:00
Paul Miller
fa5105aef2
ecdsa: remove scalar blinding. CSPRNG dep not good: cryptofuzz, other envs will fail 2023-02-28 01:48:06 +04:00
Paul Miller
11f1626ecc
modular: Add comment. Add benchmark 2023-02-27 22:41:24 +04:00
Paul Miller
53ff287bf7
Schnorr: remove getExtendedPublicKey 2023-02-27 20:29:47 +04:00
Paul Miller
214c9aa553
secp256k1: Fix schnorrGetExtPubKey y coordinate 2023-02-27 20:20:13 +04:00
Paul Miller
ec2c3e1248
Add test for ristretto equality testing 2023-02-27 19:33:41 +04:00
Paul Miller
e64a9d654c
Fix ristretto255 equals 2023-02-27 19:07:45 +04:00
Paul Miller
088edd0fbb
h2c: move params validation. add experimental hash_to_ristretto255 2023-02-27 15:07:24 +01:00
Paul Miller
3e90930e9d
Fix types 2023-02-26 19:10:50 +01:00
Paul Miller
b8b2e91f74
Release 0.7.3. 0.7.3 2023-02-26 19:05:53 +01:00
Paul Miller
9ee694ae23
docs updates 2023-02-26 19:05:40 +01:00
Paul Miller
6bc4b35cf4
hash-to-curve: speed-up os2ip, change code a bit 2023-02-26 18:55:30 +01:00
Paul Miller
0163b63532
Release 0.7.2. 0.7.2 2023-02-25 10:13:45 +01:00
Paul Miller
7e825520f1
README 2023-02-25 10:05:48 +01:00
Paul Miller
d739297b2c
Move p192, p224 from main pkg to tests for now. Reason: not popular 2023-02-25 10:00:24 +01:00
Paul Miller
285aa6375d
stark: refactor 2023-02-20 16:50:29 +01:00
Paul Miller
8c77331ef2
add hash-to-curve benchmark 2023-02-20 16:33:05 +01:00
Paul Miller
669641e0a3
README wording 2023-02-16 17:54:17 +01:00
Paul Miller
68dd57ed31
Cryptofuzz 2023-02-16 17:49:48 +01:00
Paul Miller
a9fdd6df9f
readme: typo 2023-02-16 12:33:32 +01:00
Paul Miller
d485d8b0e6
Fix prettier 2023-02-16 12:32:32 +01:00
Paul Miller
0fdd763dc7
montgomery: add randomPrivateKey. Add ecdh benchmark. 2023-02-16 12:32:18 +01:00
Paul Miller
586e2ad5fb
Release 0.7.1. 0.7.1 2023-02-16 00:20:37 +01:00
Paul Miller
ed81707bdc
readme 2023-02-16 00:12:23 +01:00
Paul Miller
6d56b2d78e
readme 2023-02-16 00:08:18 +01:00
Paul Miller
8397241a8f
bls, stark: adjust methods 2023-02-16 00:03:20 +01:00
Paul Miller
001d0cc24a
weierstrass: rename method, adjust comments 2023-02-16 00:03:10 +01:00
Paul Miller
ce9d165657
readme hash-to-scalar 2023-02-15 23:46:43 +01:00
Paul Miller
2902b0299a
readme 2023-02-15 23:38:26 +01:00
Paul Miller
e1cb8549e8
weierstrass, montgomery, secp: add comments 2023-02-15 23:26:56 +01:00
Paul Miller
26ebb5dcce
x25519, x448: change param from a24 to a. Change Gu to bigint 2023-02-15 23:07:52 +01:00
Paul Miller
8b2863aeac
Fix benchmark 2023-02-15 22:50:32 +01:00
Paul Miller
b1f50d9364
hash-to-curve: bls examples 2023-02-15 00:08:38 +01:00
Paul Miller
b81d74d3cb
readme 2023-02-15 00:06:39 +01:00
Paul Miller
d5fe537159
hash-to-curve readme 2023-02-15 00:03:18 +01:00
Paul Miller
cde1d5c488
Fix tests 2023-02-14 23:51:11 +01:00
Paul Miller
3486bbf6b8
Release 0.7.0. 0.7.0 2023-02-14 23:45:53 +01:00
Paul Miller
0d7a8296c5
gitignore update 2023-02-14 23:45:39 +01:00
Paul Miller
0f1e7a5a43
Move output from lib to root. React Native does not support pkg.json#exports 2023-02-14 23:43:28 +01:00
Paul Miller
3da48cf899
bump bmark 2023-02-14 23:24:11 +01:00
Paul Miller
4ec46dd65d
Remove scure-base from top-level dep 2023-02-14 18:00:11 +01:00