feat: add support for secp256k1 keys through the libp2p-crypto-secp256k1 module

This commit is contained in:
Yusef Napora
2017-02-04 04:23:38 -05:00
committed by Friedel Ziegelmayer
parent 308ac7cd1a
commit 76eeb5aa18
8 changed files with 166 additions and 10 deletions

View File

@ -4,3 +4,8 @@ module.exports = {
rsa: require('./rsa'),
ed25519: require('./ed25519')
}
try {
module.exports.secp256k1 = require('libp2p-crypto-secp256k1')
} catch (err) {
}