Created
January 18, 2019 01:14
-
-
Save xlc/96d45058fe25dedb8acd2df7ac695a50 to your computer and use it in GitHub Desktop.
QueasyMeatyLinuxpc created by xlc - https://repl.it/@xlc/QueasyMeatyLinuxpc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mh = require('multihashes') | |
const crypto = require('libp2p-crypto') | |
const secp256k1factory = require('libp2p-crypto-secp256k1') | |
const { Secp256k1PrivateKey } = secp256k1factory(crypto.keys.keysPBM, crypto.randomBytes) | |
const input = '0000000000000000000000000000000000000000000000000000000000000001' | |
const key = Buffer.from(input, 'hex') | |
const sk = new Secp256k1PrivateKey(key) | |
sk.public.hash((x, id) => console.log(mh.toB58String(id))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"requires": true, | |
"lockfileVersion": 1, | |
"dependencies": { | |
"asn1.js": { | |
"version": "5.0.1", | |
"resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.0.1.tgz", | |
"integrity": "sha512-aO8EaEgbgqq77IEw+1jfx5c9zTbzvkfuRBuZsSsPnTHMkmd5AI4J6OtITLZFa381jReeaQL67J0GBTUu0+ZTVw==", | |
"requires": { | |
"bn.js": "4.11.8", | |
"inherits": "2.0.3", | |
"minimalistic-assert": "1.0.1" | |
} | |
}, | |
"async": { | |
"version": "2.6.1", | |
"resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", | |
"integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", | |
"requires": { | |
"lodash": "4.17.11" | |
} | |
}, | |
"base-x": { | |
"version": "3.0.5", | |
"resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.5.tgz", | |
"integrity": "sha512-C3picSgzPSLE+jW3tcBzJoGwitOtazb5B+5YmAxZm2ybmTi9LNgAtDO/jjVEBZwHoXmDBZ9m/IELj3elJVRBcA==", | |
"requires": { | |
"safe-buffer": "5.1.2" | |
} | |
}, | |
"bindings": { | |
"version": "1.3.1", | |
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.3.1.tgz", | |
"integrity": "sha512-i47mqjF9UbjxJhxGf+pZ6kSxrnI3wBLlnGI2ArWJ4r0VrvDS7ZYXkprq/pLaBWYq4GM0r4zdHY+NNRqEMU7uew==" | |
}, | |
"bip66": { | |
"version": "1.1.5", | |
"resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz", | |
"integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=", | |
"requires": { | |
"safe-buffer": "5.1.2" | |
} | |
}, | |
"blakejs": { | |
"version": "1.1.0", | |
"resolved": "https://registry.npmjs.org/blakejs/-/blakejs-1.1.0.tgz", | |
"integrity": "sha1-ad+S75U6qIylGjLfarHFShVfx6U=" | |
}, | |
"bn.js": { | |
"version": "4.11.8", | |
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", | |
"integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==" | |
}, | |
"brorand": { | |
"version": "1.1.0", | |
"resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", | |
"integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" | |
}, | |
"browserify-aes": { | |
"version": "1.2.0", | |
"resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", | |
"integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", | |
"requires": { | |
"buffer-xor": "1.0.3", | |
"cipher-base": "1.0.4", | |
"create-hash": "1.2.0", | |
"evp_bytestokey": "1.0.3", | |
"inherits": "2.0.3", | |
"safe-buffer": "5.1.2" | |
} | |
}, | |
"bs58": { | |
"version": "4.0.1", | |
"resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", | |
"integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", | |
"requires": { | |
"base-x": "3.0.5" | |
} | |
}, | |
"buffer-xor": { | |
"version": "1.0.3", | |
"resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", | |
"integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" | |
}, | |
"cipher-base": { | |
"version": "1.0.4", | |
"resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", | |
"integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", | |
"requires": { | |
"inherits": "2.0.3", | |
"safe-buffer": "5.1.2" | |
} | |
}, | |
"class-is": { | |
"version": "1.1.0", | |
"resolved": "https://registry.npmjs.org/class-is/-/class-is-1.1.0.tgz", | |
"integrity": "sha512-rhjH9AG1fvabIDoGRVH587413LPjTZgmDF9fOFCbFJQV4yuocX1mHxxvXI4g3cGwbVY9wAYIoKlg1N79frJKQw==" | |
}, | |
"create-hash": { | |
"version": "1.2.0", | |
"resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", | |
"integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", | |
"requires": { | |
"cipher-base": "1.0.4", | |
"inherits": "2.0.3", | |
"md5.js": "1.3.5", | |
"ripemd160": "2.0.2", | |
"sha.js": "2.4.11" | |
} | |
}, | |
"create-hmac": { | |
"version": "1.1.7", | |
"resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", | |
"integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", | |
"requires": { | |
"cipher-base": "1.0.4", | |
"create-hash": "1.2.0", | |
"inherits": "2.0.3", | |
"ripemd160": "2.0.2", | |
"safe-buffer": "5.1.2", | |
"sha.js": "2.4.11" | |
} | |
}, | |
"drbg.js": { | |
"version": "1.0.1", | |
"resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz", | |
"integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=", | |
"requires": { | |
"browserify-aes": "1.2.0", | |
"create-hash": "1.2.0", | |
"create-hmac": "1.1.7" | |
} | |
}, | |
"elliptic": { | |
"version": "6.4.1", | |
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.1.tgz", | |
"integrity": "sha512-BsXLz5sqX8OHcsh7CqBMztyXARmGQ3LWPtGjJi6DiJHq5C/qvi9P3OqgswKSDftbu8+IoI/QDTAm2fFnQ9SZSQ==", | |
"requires": { | |
"bn.js": "4.11.8", | |
"brorand": "1.1.0", | |
"hash.js": "1.1.7", | |
"hmac-drbg": "1.0.1", | |
"inherits": "2.0.3", | |
"minimalistic-assert": "1.0.1", | |
"minimalistic-crypto-utils": "1.0.1" | |
} | |
}, | |
"evp_bytestokey": { | |
"version": "1.0.3", | |
"resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", | |
"integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", | |
"requires": { | |
"md5.js": "1.3.5", | |
"safe-buffer": "5.1.2" | |
} | |
}, | |
"hash-base": { | |
"version": "3.0.4", | |
"resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz", | |
"integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=", | |
"requires": { | |
"inherits": "2.0.3", | |
"safe-buffer": "5.1.2" | |
} | |
}, | |
"hash.js": { | |
"version": "1.1.7", | |
"resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", | |
"integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", | |
"requires": { | |
"inherits": "2.0.3", | |
"minimalistic-assert": "1.0.1" | |
} | |
}, | |
"hmac-drbg": { | |
"version": "1.0.1", | |
"resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", | |
"integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", | |
"requires": { | |
"hash.js": "1.1.7", | |
"minimalistic-assert": "1.0.1", | |
"minimalistic-crypto-utils": "1.0.1" | |
} | |
}, | |
"inherits": { | |
"version": "2.0.3", | |
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", | |
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" | |
}, | |
"is-promise": { | |
"version": "1.0.1", | |
"resolved": "https://registry.npmjs.org/is-promise/-/is-promise-1.0.1.tgz", | |
"integrity": "sha1-MVc3YcBX4zwukaq56W2gjO++duU=" | |
}, | |
"js-sha3": { | |
"version": "0.8.0", | |
"resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", | |
"integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" | |
}, | |
"keypair": { | |
"version": "1.0.1", | |
"resolved": "https://registry.npmjs.org/keypair/-/keypair-1.0.1.tgz", | |
"integrity": "sha1-dgNxknCvtlZO04oiCHoG/Jqk6hs=" | |
}, | |
"libp2p-crypto": { | |
"version": "0.14.1", | |
"resolved": "https://registry.npmjs.org/libp2p-crypto/-/libp2p-crypto-0.14.1.tgz", | |
"integrity": "sha512-JP3bfEzNik76fFIWOeU909+v76tjj5BMukbPCc61bgh1ixftcHkr4bH79duz+oSxRpGA+orCLxvkhgALV+pfwg==", | |
"requires": { | |
"asn1.js": "5.0.1", | |
"async": "2.6.1", | |
"browserify-aes": "1.2.0", | |
"bs58": "4.0.1", | |
"keypair": "1.0.1", | |
"libp2p-crypto-secp256k1": "0.2.3", | |
"multihashing-async": "0.5.2", | |
"node-forge": "0.7.6", | |
"pem-jwk": "1.5.1", | |
"protons": "1.0.1", | |
"rsa-pem-to-jwk": "1.1.3", | |
"tweetnacl": "1.0.0", | |
"ursa-optional": "0.9.10", | |
"webcrypto-shim": "github:dignifiedquire/webcrypto-shim#190bc9ec341375df6025b17ae12ddb2428ea49c8" | |
} | |
}, | |
"libp2p-crypto-secp256k1": { | |
"version": "0.2.3", | |
"resolved": "https://registry.npmjs.org/libp2p-crypto-secp256k1/-/libp2p-crypto-secp256k1-0.2.3.tgz", | |
"integrity": "sha512-DFrK89VdboacqM3vqWV8yt8FH9Ni181JJAOU2tRkJfUN9tNEV7VfZEg390NJxEQQbLsyH4HZ7on3QTpPHMHQZQ==", | |
"requires": { | |
"async": "2.6.1", | |
"multihashing-async": "0.5.2", | |
"nodeify": "1.0.1", | |
"safe-buffer": "5.1.2", | |
"secp256k1": "3.6.1" | |
} | |
}, | |
"lodash": { | |
"version": "4.17.11", | |
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", | |
"integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" | |
}, | |
"md5.js": { | |
"version": "1.3.5", | |
"resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", | |
"integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", | |
"requires": { | |
"hash-base": "3.0.4", | |
"inherits": "2.0.3", | |
"safe-buffer": "5.1.2" | |
} | |
}, | |
"minimalistic-assert": { | |
"version": "1.0.1", | |
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", | |
"integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" | |
}, | |
"minimalistic-crypto-utils": { | |
"version": "1.0.1", | |
"resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", | |
"integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" | |
}, | |
"multihashes": { | |
"version": "0.4.14", | |
"resolved": "https://registry.npmjs.org/multihashes/-/multihashes-0.4.14.tgz", | |
"integrity": "sha512-V/g/EIN6nALXfS/xHUAgtfPP3mn3sPIF/i9beuGKf25QXS2QZYCpeVJbDPEannkz32B2fihzCe2D/KMrbcmefg==", | |
"requires": { | |
"bs58": "4.0.1", | |
"varint": "5.0.0" | |
} | |
}, | |
"multihashing-async": { | |
"version": "0.5.2", | |
"resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-0.5.2.tgz", | |
"integrity": "sha512-mmyG6M/FKxrpBh9xQDUvuJ7BbqT93ZeEeH5X6LeMYKoYshYLr9BDdCsvDtZvn+Egf+/Xi+aOznrWL4vp3s+p0Q==", | |
"requires": { | |
"blakejs": "1.1.0", | |
"js-sha3": "0.8.0", | |
"multihashes": "0.4.14", | |
"murmurhash3js": "3.0.1", | |
"nodeify": "1.0.1" | |
} | |
}, | |
"murmurhash3js": { | |
"version": "3.0.1", | |
"resolved": "https://registry.npmjs.org/murmurhash3js/-/murmurhash3js-3.0.1.tgz", | |
"integrity": "sha1-Ppg+W0fCoG9DpxMXTn5DXKBEuZg=" | |
}, | |
"nan": { | |
"version": "2.12.1", | |
"resolved": "https://registry.npmjs.org/nan/-/nan-2.12.1.tgz", | |
"integrity": "sha512-JY7V6lRkStKcKTvHO5NVSQRv+RV+FIL5pvDoLiAtSL9pKlC5x9PKQcZDsq7m4FO4d57mkhC6Z+QhAh3Jdk5JFw==" | |
}, | |
"node-forge": { | |
"version": "0.7.6", | |
"resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.6.tgz", | |
"integrity": "sha512-sol30LUpz1jQFBjOKwbjxijiE3b6pjd74YwfD0fJOKPjF+fONKb2Yg8rYgS6+bK6VDl+/wfr4IYpC7jDzLUIfw==" | |
}, | |
"nodeify": { | |
"version": "1.0.1", | |
"resolved": "https://registry.npmjs.org/nodeify/-/nodeify-1.0.1.tgz", | |
"integrity": "sha1-ZKtpp7268DzhB7TwM1yHwLnpGx0=", | |
"requires": { | |
"is-promise": "1.0.1", | |
"promise": "1.3.0" | |
} | |
}, | |
"object-assign": { | |
"version": "2.1.1", | |
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-2.1.1.tgz", | |
"integrity": "sha1-Q8NuXVaf+OSBbE76i+AtJpZ8GKo=" | |
}, | |
"optimist": { | |
"version": "0.3.7", | |
"resolved": "https://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz", | |
"integrity": "sha1-yQlBrVnkJzMokjB00s8ufLxuwNk=", | |
"requires": { | |
"wordwrap": "0.0.3" | |
} | |
}, | |
"peer-id": { | |
"version": "github:libp2p/js-peer-id#205cd3fd5bbf4d482f98ed58d67b3eeff6abd546", | |
"requires": { | |
"async": "2.6.1", | |
"class-is": "1.1.0", | |
"libp2p-crypto": "0.14.1", | |
"lodash": "4.17.11", | |
"multihashes": "0.4.14" | |
} | |
}, | |
"pem-jwk": { | |
"version": "1.5.1", | |
"resolved": "https://registry.npmjs.org/pem-jwk/-/pem-jwk-1.5.1.tgz", | |
"integrity": "sha1-eoY3/S9nqCflfAxC4cI8P9Us+wE=", | |
"requires": { | |
"asn1.js": "1.0.3" | |
}, | |
"dependencies": { | |
"asn1.js": { | |
"version": "1.0.3", | |
"resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-1.0.3.tgz", | |
"integrity": "sha1-KBuj7B8kSP52X5Kk7s+IP+E2S1Q=", | |
"requires": { | |
"bn.js": "1.3.0", | |
"inherits": "2.0.3", | |
"minimalistic-assert": "1.0.1" | |
} | |
}, | |
"bn.js": { | |
"version": "1.3.0", | |
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-1.3.0.tgz", | |
"integrity": "sha1-DbTL+W+PI7dC9by50ap6mZSgXoM=", | |
"optional": true | |
} | |
} | |
}, | |
"promise": { | |
"version": "1.3.0", | |
"resolved": "https://registry.npmjs.org/promise/-/promise-1.3.0.tgz", | |
"integrity": "sha1-5cyaTIJ45GZP/twBx9qEhCsEAXU=", | |
"requires": { | |
"is-promise": "1.0.1" | |
} | |
}, | |
"protocol-buffers-schema": { | |
"version": "3.3.2", | |
"resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.3.2.tgz", | |
"integrity": "sha512-Xdayp8sB/mU+sUV4G7ws8xtYMGdQnxbeIfLjyO9TZZRJdztBGhlmbI5x1qcY4TG5hBkIKGnc28i7nXxaugu88w==" | |
}, | |
"protons": { | |
"version": "1.0.1", | |
"resolved": "https://registry.npmjs.org/protons/-/protons-1.0.1.tgz", | |
"integrity": "sha512-+0ZKnfVs+4c43tbAQ5j0Mck8wPcLnlxUYzKQoB4iDW4ocdXGnN4P+0dDbgX1FTpoY9+7P2Tn2scJyHHqj+S/lQ==", | |
"requires": { | |
"protocol-buffers-schema": "3.3.2", | |
"safe-buffer": "5.1.2", | |
"signed-varint": "2.0.1", | |
"varint": "5.0.0" | |
} | |
}, | |
"ripemd160": { | |
"version": "2.0.2", | |
"resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", | |
"integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", | |
"requires": { | |
"hash-base": "3.0.4", | |
"inherits": "2.0.3" | |
} | |
}, | |
"rsa-pem-to-jwk": { | |
"version": "1.1.3", | |
"resolved": "https://registry.npmjs.org/rsa-pem-to-jwk/-/rsa-pem-to-jwk-1.1.3.tgz", | |
"integrity": "sha1-JF52vbfnI0z+58oDLTG1TDj6uY4=", | |
"requires": { | |
"object-assign": "2.1.1", | |
"rsa-unpack": "0.0.6" | |
} | |
}, | |
"rsa-unpack": { | |
"version": "0.0.6", | |
"resolved": "https://registry.npmjs.org/rsa-unpack/-/rsa-unpack-0.0.6.tgz", | |
"integrity": "sha1-9Q69VqYoN45jHylxYQJs6atO3bo=", | |
"requires": { | |
"optimist": "0.3.7" | |
} | |
}, | |
"safe-buffer": { | |
"version": "5.1.2", | |
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", | |
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" | |
}, | |
"secp256k1": { | |
"version": "3.6.1", | |
"resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.6.1.tgz", | |
"integrity": "sha512-utLpWv4P4agEw7hakR73wlWX0NBmC5t/vkJ0TAfTyvETAUzo0tm6aFKPYetVYRaVubxMeWm5Ekv9ETwOgcDCqw==", | |
"requires": { | |
"bindings": "1.3.1", | |
"bip66": "1.1.5", | |
"bn.js": "4.11.8", | |
"create-hash": "1.2.0", | |
"drbg.js": "1.0.1", | |
"elliptic": "6.4.1", | |
"nan": "2.12.1", | |
"safe-buffer": "5.1.2" | |
} | |
}, | |
"sha.js": { | |
"version": "2.4.11", | |
"resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", | |
"integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", | |
"requires": { | |
"inherits": "2.0.3", | |
"safe-buffer": "5.1.2" | |
} | |
}, | |
"signed-varint": { | |
"version": "2.0.1", | |
"resolved": "https://registry.npmjs.org/signed-varint/-/signed-varint-2.0.1.tgz", | |
"integrity": "sha1-UKmYnafJjCxh2tEZvJdHDvhSgSk=", | |
"requires": { | |
"varint": "5.0.0" | |
} | |
}, | |
"tweetnacl": { | |
"version": "1.0.0", | |
"resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.0.tgz", | |
"integrity": "sha1-cT2LgY2kIGh0C/aDhtBHnmb8ins=" | |
}, | |
"ursa-optional": { | |
"version": "0.9.10", | |
"resolved": "https://registry.npmjs.org/ursa-optional/-/ursa-optional-0.9.10.tgz", | |
"integrity": "sha512-RvEbhnxlggX4MXon7KQulTFiJQtLJZpSb9ZSa7ZTkOW0AzqiVTaLjI4vxaSzJBDH9dwZ3ltZadFiBaZslp6haA==", | |
"requires": { | |
"bindings": "1.3.1", | |
"nan": "2.12.1" | |
} | |
}, | |
"varint": { | |
"version": "5.0.0", | |
"resolved": "https://registry.npmjs.org/varint/-/varint-5.0.0.tgz", | |
"integrity": "sha1-2Ca4n3SQcy+rwMDtaT7Uddyynr8=" | |
}, | |
"webcrypto-shim": { | |
"version": "github:dignifiedquire/webcrypto-shim#190bc9ec341375df6025b17ae12ddb2428ea49c8" | |
}, | |
"wordwrap": { | |
"version": "0.0.3", | |
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", | |
"integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dependencies": { | |
"libp2p-crypto": "*", | |
"libp2p-crypto-secp256k1": "*" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment