mirror of
https://github.com/fluencelabs/js-libp2p-crypto
synced 2025-03-15 20:31:02 +00:00
2.2 KiB
2.2 KiB
js-libp2p-crypto
Crypto primitives for libp2p in JavaScript
This repo contains the JavaScript implementation of the crypto primitives needed for libp2p. This is based on this go implementation.
Table of Contents
Install
npm install --save libp2p-crypto
Usage
Example
const crypto = require('libp2p-crypto')
crypto.generateKeyPair('RSA', 2048, (err, key) => {
})
API
See API.md
Contribute
Feel free to join in. All welcome. Open an issue!
This repository falls under the IPFS Code of Conduct.