From dd79e0899f868803233585b11534be159da1af2c Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Fri, 16 Jul 2021 11:22:48 +1000 Subject: [PATCH] Reword crypto libs --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9684c59903..0e4e8e13ce 100644 --- a/README.md +++ b/README.md @@ -128,8 +128,14 @@ With js-waku, you can: ### Cryptographic Libraries A quick note on the cryptographic libraries used as it is a not a straightforward affair: -- Asymmetric encryption: Uses [ecies-geth](https://github.com/cyrildever/ecies-geth/) which in turns uses [SubtleCrypto](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto) Web API (browser), [secp256k1](https://www.npmjs.com/package/secp256k1) (native binding for node) or [elliptic](https://www.npmjs.com/package/elliptic) (pure JS if none of the other libraries are available). -- Symmetric encryption: uses [SubtleCrypto](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto) Web API (browser) or [NodeJS' crypto](https://nodejs.org/api/crypto.html) module. Which means there is no fallback if [SubtleCrypto](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto) is not available, [elliptic](https://www.npmjs.com/package/elliptic) could be added if the need rises. +- Asymmetric encryption: + Uses [ecies-geth](https://github.com/cyrildever/ecies-geth/) + which in turns uses [SubtleCrypto](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto) Web API (browser), + [secp256k1](https://www.npmjs.com/package/secp256k1) (native binding for node) + or [elliptic](https://www.npmjs.com/package/elliptic) (pure JS if none of the other libraries are available). +- Symmetric encryption: + Uses [SubtleCrypto](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto) Web API (browser) + or [NodeJS' crypto](https://nodejs.org/api/crypto.html) module. ### Create new keys