mirror of
https://github.com/fluencelabs/js-libp2p-crypto
synced 2025-06-23 18:01:38 +00:00
cecadba14d422b18380dad4afe0368499989863c
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.
License
Description
Languages
JavaScript
100%