mirror of
https://github.com/waku-org/js-waku.git
synced 2025-01-27 04:35:33 +00:00
Reword crypto libs
This commit is contained in:
parent
4f796ab920
commit
dd79e0899f
10
README.md
10
README.md
@ -128,8 +128,14 @@ With js-waku, you can:
|
|||||||
### Cryptographic Libraries
|
### Cryptographic Libraries
|
||||||
|
|
||||||
A quick note on the cryptographic libraries used as it is a not a straightforward affair:
|
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).
|
- Asymmetric encryption:
|
||||||
- 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.
|
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
|
### Create new keys
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user