mirror of
https://github.com/fluencelabs/js-libp2p-crypto
synced 2025-06-23 02:01:42 +00:00
feat: add support for secp256k1 keys through the libp2p-crypto-secp256k1
module
This commit is contained in:
committed by
Friedel Ziegelmayer
parent
308ac7cd1a
commit
76eeb5aa18
@ -4,3 +4,8 @@ module.exports = {
|
||||
rsa: require('./rsa'),
|
||||
ed25519: require('./ed25519')
|
||||
}
|
||||
|
||||
try {
|
||||
module.exports.secp256k1 = require('libp2p-crypto-secp256k1')
|
||||
} catch (err) {
|
||||
}
|
||||
|
Reference in New Issue
Block a user