From 2ce3b825f8f2dd8978e21909cddde40408876cbd Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Wed, 16 Aug 2023 00:36:24 +0000 Subject: [PATCH] readme --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 286028a..fac5167 100644 --- a/README.md +++ b/README.md @@ -40,10 +40,8 @@ For [Deno](https://deno.land), ensure to use [npm specifier](https://deno.land/m For React Native, you may need a [polyfill for crypto.getRandomValues](https://github.com/LinusU/react-native-get-random-values). If you don't like NPM, a standalone [noble-curves.js](https://github.com/paulmillr/noble-curves/releases) is also available. -The package consists of two parts: -implementations (using [noble-hashes](https://github.com/paulmillr/noble-hashes)), and zero-dep abstract api. - - [Usage](#usage) +- [Implementations](#implementations) - [ECDSA signature scheme](#ecdsa-signature-scheme) - [ECDSA public key recovery & extra entropy](#ecdsa-public-key-recovery--extra-entropy) - [ECDH (Elliptic Curve Diffie-Hellman)](#ecdh-elliptic-curve-diffie-hellman) @@ -72,6 +70,11 @@ implementations (using [noble-hashes](https://github.com/paulmillr/noble-hashes) - [Projects using curves](#projects-using-curves) - [License](#license) +### Implementations + +Implementations are utilizing [noble-hashes](https://github.com/paulmillr/noble-hashes). +[Abstract API](#abstract-api) doesn't depend on them: you can use a different hashing library. + #### ECDSA signature scheme Generic example that works for all curves, shown for secp256k1: