/ content / docs / crypto_libraries.md
crypto_libraries.md
 1  ---
 2  title: Cryptographic Libraries
 3  date: 2021-12-09T14:00:00+01:00
 4  weight: 50
 5  ---
 6  
 7  # Cryptographic Libraries
 8  
 9  A note on the cryptographic libraries used as it is a not a straightforward affair.
10  
11  ## Asymmetric encryption
12  
13  Uses [ecies-geth](https://github.com/cyrildever/ecies-geth/)
14  which in turns uses [SubtleCrypto](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto) Web API (browser),
15  [secp256k1](https://www.npmjs.com/package/secp256k1) (native binding for node)
16  or [elliptic](https://www.npmjs.com/package/elliptic) (pure JS if none of the other libraries are available).
17  
18  ## Symmetric encryption
19  
20  Uses [SubtleCrypto](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto) Web API (browser)
21  or [NodeJS' crypto](https://nodejs.org/api/crypto.html) module.