forked from tornado-packages/noble-curves
Fix README. Closes gh-80
This commit is contained in:
parent
8661eef949
commit
ccea23a712
@ -1008,7 +1008,7 @@ Upgrading from noble-secp256k1 1.7:
|
|||||||
- to use old behavior, which produced 65-byte uncompressed keys, set
|
- to use old behavior, which produced 65-byte uncompressed keys, set
|
||||||
argument `isCompressed` to `false`: `getPublicKey(priv, false)`
|
argument `isCompressed` to `false`: `getPublicKey(priv, false)`
|
||||||
- `sign`
|
- `sign`
|
||||||
- is now sync; use `signAsync` for async version
|
- is now sync
|
||||||
- now returns `Signature` instance with `{ r, s, recovery }` properties
|
- now returns `Signature` instance with `{ r, s, recovery }` properties
|
||||||
- `canonical` option was renamed to `lowS`
|
- `canonical` option was renamed to `lowS`
|
||||||
- `recovered` option has been removed because recovery bit is always returned now
|
- `recovered` option has been removed because recovery bit is always returned now
|
||||||
@ -1017,6 +1017,7 @@ Upgrading from noble-secp256k1 1.7:
|
|||||||
Compact encoding is simply a concatenation of 32-byte r and 32-byte s.
|
Compact encoding is simply a concatenation of 32-byte r and 32-byte s.
|
||||||
2. If you must use DER encoding, switch to noble-curves (see above).
|
2. If you must use DER encoding, switch to noble-curves (see above).
|
||||||
- `verify`
|
- `verify`
|
||||||
|
- is now sync
|
||||||
- `strict` option was renamed to `lowS`
|
- `strict` option was renamed to `lowS`
|
||||||
- `getSharedSecret`
|
- `getSharedSecret`
|
||||||
- now produce 33-byte compressed signatures by default
|
- now produce 33-byte compressed signatures by default
|
||||||
|
Loading…
Reference in New Issue
Block a user