forked from tornado-packages/noble-curves
docs
This commit is contained in:
parent
3df2553ced
commit
bb875791bd
30
README.md
30
README.md
@ -11,21 +11,7 @@
|
|||||||
- 🏎 [Ultra-fast](#speed), hand-optimized for caveats of JS engines
|
- 🏎 [Ultra-fast](#speed), hand-optimized for caveats of JS engines
|
||||||
- 🔍 Unique tests ensure correctness with Wycheproof vectors and
|
- 🔍 Unique tests ensure correctness with Wycheproof vectors and
|
||||||
[cryptofuzz](https://github.com/guidovranken/cryptofuzz) differential fuzzing
|
[cryptofuzz](https://github.com/guidovranken/cryptofuzz) differential fuzzing
|
||||||
- 🔻 Tree-shaking-friendly: there is no entry point, which ensures small size of your app
|
- 🔻 Tree-shaking-friendly: use only what's necessary, other code won't be included
|
||||||
|
|
||||||
Package consists of two parts:
|
|
||||||
|
|
||||||
1. [Abstract](#abstract-api), zero-dependency EC algorithms
|
|
||||||
2. [Implementations](#implementations), utilizing one dependency `@noble/hashes`,
|
|
||||||
providing ready-to-use:
|
|
||||||
- NIST curves secp256r1/P256, secp384r1/P384, secp521r1/P521
|
|
||||||
- SECG curve secp256k1
|
|
||||||
- ed25519/curve25519/x25519/ristretto255, edwards448/curve448/x448
|
|
||||||
implementing
|
|
||||||
[RFC7748](https://www.rfc-editor.org/rfc/rfc7748) /
|
|
||||||
[RFC8032](https://www.rfc-editor.org/rfc/rfc8032) /
|
|
||||||
[ZIP215](https://zips.z.cash/zip-0215) standards
|
|
||||||
- pairing-friendly curves bls12-381, bn254
|
|
||||||
|
|
||||||
Check out [Upgrading](#upgrading) if you've previously used single-feature noble
|
Check out [Upgrading](#upgrading) if you've previously used single-feature noble
|
||||||
packages ([secp256k1](https://github.com/paulmillr/noble-secp256k1),
|
packages ([secp256k1](https://github.com/paulmillr/noble-secp256k1),
|
||||||
@ -61,6 +47,20 @@ The library is tree-shaking-friendly and does not expose root entry point as
|
|||||||
`import * from '@noble/curves'`. Instead, you need to import specific primitives.
|
`import * from '@noble/curves'`. Instead, you need to import specific primitives.
|
||||||
This is done to ensure small size of your apps.
|
This is done to ensure small size of your apps.
|
||||||
|
|
||||||
|
Package consists of two parts:
|
||||||
|
|
||||||
|
1. [Implementations](#implementations), utilizing one dependency `@noble/hashes`,
|
||||||
|
providing ready-to-use:
|
||||||
|
- NIST curves secp256r1/P256, secp384r1/P384, secp521r1/P521
|
||||||
|
- SECG curve secp256k1
|
||||||
|
- ed25519/curve25519/x25519/ristretto255, edwards448/curve448/x448
|
||||||
|
implementing
|
||||||
|
[RFC7748](https://www.rfc-editor.org/rfc/rfc7748) /
|
||||||
|
[RFC8032](https://www.rfc-editor.org/rfc/rfc8032) /
|
||||||
|
[ZIP215](https://zips.z.cash/zip-0215) standards
|
||||||
|
- pairing-friendly curves bls12-381, bn254
|
||||||
|
2. [Abstract](#abstract-api), zero-dependency EC algorithms
|
||||||
|
|
||||||
### Implementations
|
### Implementations
|
||||||
|
|
||||||
Each curve can be used in the following way:
|
Each curve can be used in the following way:
|
||||||
|
Loading…
Reference in New Issue
Block a user