mirror of
https://github.com/fluencelabs/js-libp2p-crypto
synced 2025-03-15 10:41:03 +00:00
JavaScript libp2p Crytpo
Crypto primitives for libp2p in JavaScript
Description
This repo contains the JavaScript implementation of the crypto primitives needed for libp2p. This is based on this go implementation.
API
generateKeyPair(type, bits, cb)
type: String
, only'RSA'
is currently supportedbits: Number
cb: Function
, with the signaturefunction (err, privateKey)
Description
Languages
JavaScript
100%