js-libp2p-crypto/README.md
2016-11-01 12:47:58 +01:00

2.2 KiB

js-libp2p-crypto

standard-readme compliant Coverage Status Travis CI Circle CI Dependency Status js-standard-style

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

MIT