{"_id":"human-crypto-keys","_rev":"31-aac1446fa4b2630dec2b68752d7eee3d","name":"human-crypto-keys","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"human-crypto-keys","version":"0.1.0","description":"Generate and import human-friendly cryptographic keys using mnemonics or seeds","main":"lib/index.js","module":"es/index.js","homepage":"https://github.com/ipfs-shipyard/js-human-crypto-keys#readme","author":{"name":"André Cruz","email":"andre@moxy.studio"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ipfs-shipyard/js-human-crypto-keys.git"},"keywords":["crypto","human","import","store","recover","deterministic","key","mnemonic","qr-code","bip39","bip0039","prng","seed"],"bugs":{"url":"https://github.com/ipfs-shipyard/js-human-crypto-keys/issues"},"scripts":{"build:commonjs":"BABEL_ENV=commonjs babel src -d lib --ignore \"**/__tests__\"","build:es":"BABEL_ENV=es babel src -d es --ignore \"**/__tests__\"","build":"npm run build:commonjs && npm run build:es","test":"jest --coverage","lint":"eslint --ignore-path .gitignore .","prerelease":"npm t && npm run lint && npm run build","release":"standard-version"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"standard-version":{"scripts":{"posttag":"git push --follow-tags origin master"}},"lint-staged":{"*.js":["eslint --fix","git add"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"jest":{"testRegex":"/__tests__/.*\\.test\\.js$"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@commitlint/config-conventional":"^7.5.0","babel-jest":"^24.5.0","babel-preset-moxy":"^3.0.4","commitlint":"^7.5.2","eslint":"^5.13.0","eslint-config-moxy":"^7.0.1","husky":"^1.3.1","jest":"^24.1.0","lint-staged":"^8.1.4","standard-version":"^5.0.0"},"dependencies":{"bip39":"^2.6.0","crypto-key-composer":"^0.1.0","hash.js":"^1.1.7","hmac-drbg":"^1.0.1","node-forge":"^0.8.2","pify":"^4.0.1"},"gitHead":"8073b642460ed6f298c7991e92312df915628cee","_id":"human-crypto-keys@0.1.0","_npmVersion":"6.5.0","_nodeVersion":"11.9.0","_npmUser":{"name":"paulobmarcos","email":"paulobmarcos@outlook.com"},"dist":{"integrity":"sha512-VAbl88AsSib328cro2ClgR59KAi0NACUIGVrzS5+r9GnCAGXVfMBajGaLT41Xe4n9B7STKcOQlGXitCIBjnvIA==","shasum":"2830ed955a3dbce5d2590f57b0dd77f975234095","tarball":"https://registry.npmjs.org/human-crypto-keys/-/human-crypto-keys-0.1.0.tgz","fileCount":18,"unpackedSize":30556,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsGJWCRA9TVsSAnZWagAAh9QP/ROeocrAR1+kbzGVsWlX\nhxKfT3rSdlP9BUKWXlNhfbjkPBz+7DmhJoNHgh3KB9XRTWm7ZlbHkE4N1zhZ\nNqk5trJInZqeIFJB/2RtzPXlTv6AlJyg/mqul9o9GDctsREMjSswGQWRwOjq\ns7KbFt/kDzqjS7SFSzWSSgUXqxbzIoSmdhniPTT+nDcNv58PlFgyG4oaCTM6\nx2mKwyj32ZhHMr12sEelCbFcqOPfQbAEO/SGRQkFL0nkp2Tgh97g+ZzOfuY2\nwdIj+8NAST3tCP2+rIhnSElH5/M+H8xxifD/dRXoLZONSL2bsCeC42BgbcL/\n5C0gzPajn3LJWdeaD8Su99eF/2fq1dqGTMf0JlvOCeSavReKqsui9ZFjsQt8\n9fEkQs3NZDpXchj0KCW4silnvH9aN0ynlVe9HJ+RoSBslEi589z1MAIcQ28G\nD23qsgX23uRRRu0hNf47DU8aOhDDI2RJSUnykJ7NPUVAEMsIvH/dkQe9YScb\nDL1ASVMZhnnqVgLrVBXaqbML4NCEsX/Pg6QLKx5P/YgZwTek725J74tGgyy4\n273JfVEHnM0Qq64Iw1dTcE40l1cwAcIgBfuoeKQvgxz4x/DSCqzLfumfHLP1\nKdwihkTb5SRZYAYxLWke9D1WEiISnuhwTP3YqZwYSaCGBouBE43JnJL5aEw7\nFuzZ\r\n=IKyj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4SctY411Yhpz9Edx0sMWsHMWEHeQtciESM1fOnJSDFgIhANOwp9owOg/42qq3N47WKrOjy/OohdqU54JQbXxxLIXz"}]},"maintainers":[{"name":"paulobmarcos","email":"paulobmarcos@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/human-crypto-keys_0.1.0_1555063382223_0.36239624255383585"},"_hasShrinkwrap":false},"0.1.1":{"name":"human-crypto-keys","version":"0.1.1","description":"Generate and import human-friendly cryptographic keys using mnemonics or seeds","main":"lib/index.js","module":"es/index.js","homepage":"https://github.com/ipfs-shipyard/js-human-crypto-keys#readme","author":{"name":"André Cruz","email":"andre@moxy.studio"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ipfs-shipyard/js-human-crypto-keys.git"},"keywords":["crypto","human","import","store","recover","deterministic","key","mnemonic","qr-code","bip39","bip0039","prng","seed"],"bugs":{"url":"https://github.com/ipfs-shipyard/js-human-crypto-keys/issues"},"scripts":{"build:commonjs":"BABEL_ENV=commonjs babel src -d lib --ignore \"**/__tests__\"","build:es":"BABEL_ENV=es babel src -d es --ignore \"**/__tests__\"","build":"npm run build:commonjs && npm run build:es","test":"jest --coverage","lint":"eslint --ignore-path .gitignore .","prerelease":"npm t && npm run lint && npm run build","release":"standard-version"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"standard-version":{"scripts":{"posttag":"git push --follow-tags origin master"}},"lint-staged":{"*.js":["eslint --fix","git add"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"jest":{"testRegex":"/__tests__/.*\\.test\\.js$"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@commitlint/config-conventional":"^7.5.0","babel-jest":"^24.5.0","babel-preset-moxy":"^3.0.4","commitlint":"^7.5.2","eslint":"^5.13.0","eslint-config-moxy":"^7.0.1","husky":"^1.3.1","jest":"^24.1.0","lint-staged":"^8.1.4","standard-version":"^5.0.0"},"dependencies":{"bip39":"^2.6.0","crypto-key-composer":"^0.1.0","hash.js":"^1.1.7","hmac-drbg":"^1.0.1","node-forge":"^0.8.2","pify":"^4.0.1"},"gitHead":"5c85d63a4cfb5d3aaf2367c8ad469e356c955094","_id":"human-crypto-keys@0.1.1","_npmVersion":"6.5.0","_nodeVersion":"11.9.0","_npmUser":{"name":"paulobmarcos","email":"paulobmarcos@outlook.com"},"dist":{"integrity":"sha512-+ThLW3MsYiv6167DQxdOjsZMNkZ6MrPhCEP4IdbEWTJOjkPQq+aJvlvQIEqh5m40M3kG2kNMelcLIfK+uXJtVw==","shasum":"8bbaff039fc3a3b0a21257123ee428b1f8a908f4","tarball":"https://registry.npmjs.org/human-crypto-keys/-/human-crypto-keys-0.1.1.tgz","fileCount":18,"unpackedSize":31512,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcv1DcCRA9TVsSAnZWagAA7LoQAJ8OqRAMtEG7HscFLpo8\nAZ8QkDfj2a5BEks5uxq8mPV2zc5/E9m7CBg6kAsLS1+b+Y/WQhVF30WFzvB0\nDdIRHsTRwYgzgdoUoWzyMpV32FMmAOfXqRARinb+PdAFj75aDABdfD2GgoF4\nuhnxaXQxV+PCekYTFLVvrzTSO5R3WI6pGb3wtpKqVsHt4zKCJT/MMNU3l+Pp\noInp1DDqpIW9zDmV4hTZRQPsLL1QI6Am45+ow9MvO3pSyXT+GSeXLvbhmUCI\n/7tedGYT1kcd8S6EZtvYJ49QBywF5kv7k2UROBUKmudj4kMHsXSUhYkKypRH\npr9xbvbl3F1dNCVvBQSGZgnCOmXPeSILaZcfTeeDB+uxCBYxN81S+Fd6VcTq\nO1dzkTCPuk+y56dovTynNaMiA6rjHNGu/uyBbOgllalxZMlLvnjx+ZXI08SQ\nUkQ4flkGc3mbfrrL7MN/jMz+tYTX0xH7J5k8jO7s+FDmxcAvaCIczH5MuHok\n5nO9batI8Bq71NatkszpOfeCP4gbryHkPGLgNM0prEjLTQQtm40wNuAijOkC\nvxN70qXxMJn4G6eR26mAgwHWvYXoa+K6xEiwVr/gJrwvSpJJaCf4u9Ds/DiC\nDx9ocQHRPWghFMZc9wQvG/ebA71kDbmwP4B2EJDPTsXwZV6Vi0rXkHkQr/FA\n+rTe\r\n=8Ijd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdsyNZwQcSxfwh7JT7wBJE5OpG4Q8CWjJAl0ZS3fIqIAIhAPvIlCYOlkFlbCLyUK8Xvw+meQPQ5cna1wfCog+l1CEN"}]},"maintainers":[{"email":"andreclima.pt@gmail.com","name":"acostalima"},{"email":"a.reis_05@hotmail.com","name":"afonsovreis"},{"email":"gmdz95@gmail.com","name":"dominguesgm"},{"email":"filipediasferreira@me.com","name":"filipediasf"},{"email":"fsdiogo@gmail.com","name":"fsdiogo"},{"email":"mail@hugodias.me","name":"hugomrdias"},{"email":"ivolimasilva@outlook.com","name":"ivolimasilva"},{"email":"joaomssmota@gmail.com","name":"joaomota"},{"email":"marcooliveira@me.com","name":"marcooliveira"},{"email":"hello@moxy.studio","name":"moxyhq"},{"email":"nelsonfonseca.18@gmail.com","name":"nlfonseca"},{"email":"paulobmarcos@outlook.com","name":"paulobmarcos"},{"email":"pedromiguelsousasantos@hotmail.com","name":"pedromiguelss"},{"email":"ricardo.silva@moxy.studio","name":"ricardo-silva91"},{"email":"ruimpmonteiro12345@gmail.com","name":"ruimonteiro"},{"email":"rui.neves@moxy.studio","name":"ruipneves"},{"email":"andremiguelcruz@msn.com","name":"satazor"},{"email":"vasco.santos@moxy.studio","name":"vascosantos"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/human-crypto-keys_0.1.1_1556041947794_0.10915059031610097"},"_hasShrinkwrap":false},"0.1.2":{"name":"human-crypto-keys","version":"0.1.2","description":"Generate and import human-friendly cryptographic keys using mnemonics or seeds","main":"lib/index.js","module":"es/index.js","homepage":"https://github.com/ipfs-shipyard/js-human-crypto-keys#readme","author":{"name":"André Cruz","email":"andre@moxy.studio"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ipfs-shipyard/js-human-crypto-keys.git"},"keywords":["crypto","human","import","store","recover","deterministic","key","mnemonic","qr-code","bip39","bip0039","prng","seed"],"bugs":{"url":"https://github.com/ipfs-shipyard/js-human-crypto-keys/issues"},"scripts":{"build:commonjs":"BABEL_ENV=commonjs babel src -d lib --ignore \"**/__tests__\" --delete-dir-on-start","build:es":"BABEL_ENV=es babel src -d es --ignore \"**/__tests__\" --delete-dir-on-start","build":"npm run build:commonjs && npm run build:es","test":"jest --coverage","lint":"eslint --ignore-path .gitignore .","prerelease":"npm t && npm run lint && npm run build","release":"standard-version"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"standard-version":{"scripts":{"posttag":"git push --follow-tags origin master"}},"lint-staged":{"*.js":["eslint --fix","git add"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"jest":{"testRegex":"/__tests__/.*\\.test\\.js$"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@commitlint/config-conventional":"^7.5.0","babel-jest":"^24.5.0","babel-preset-moxy":"^3.0.4","commitlint":"^7.5.2","eslint":"^5.13.0","eslint-config-moxy":"^7.0.1","husky":"^2.1.0","jest":"^24.1.0","lint-staged":"^8.1.4","standard-version":"^5.0.0"},"dependencies":{"bip39":"^3.0.1","crypto-key-composer":"^0.1.0","es6-error":"^4.1.1","hash.js":"^1.1.7","hmac-drbg":"^1.0.1","node-forge":"^0.8.2","pify":"^4.0.1"},"gitHead":"0ca7030730de9bac039fad4adf489748731c3c81","_id":"human-crypto-keys@0.1.2","_npmVersion":"6.5.0","_nodeVersion":"11.9.0","_npmUser":{"name":"paulobmarcos","email":"paulobmarcos@outlook.com"},"dist":{"integrity":"sha512-6nDtiuA8iQZC1tTW2q8VSmm5YvJ3rgk5LnVOEpoXGEbXfHLeyzlezWDE7y5Pf6y2UPU2wP1AMrMgDz75vY0GeA==","shasum":"48e22a4676f40da22f9d5c857f55c8707f47b57f","tarball":"https://registry.npmjs.org/human-crypto-keys/-/human-crypto-keys-0.1.2.tgz","fileCount":18,"unpackedSize":31944,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0GYyCRA9TVsSAnZWagAAX8wP/0tQut7wkibT4MezYkU/\nwhVOa0XOWknbMAfxjf1Mo0OqkQx6QXAj32p8Cjr0glB8q0t8uwK/JulpAy7f\noE6xupwtdz6+/uaYddqZF5SoUGLc90W7cA5lXlFJygXqqt72/7Dt6aJ7k+Y2\n4wZAxzXGzybNTWyFLOxXl2xYBGC6AED0tF4XqCFT/k54MQgmJNyAl+ifTaAV\nYR2T1kkvvlYD/mbGNYo4/YdL54DL253eeDb117TN9CfpGeMKQvVYvgQwArS6\nrbFZK6p4DLz3a1FbBLq3oIuOrqd464Ofu5gCzEBAHdwAuQCl/lbmbUeu+PGY\nONe3qWsNh278+tbY32V60n9amBKciAkO4UhKGcmpIE1f1QLbD0ERyU78vAxE\nl8Sr/81JieihGXa9my8IyGHfhvcQ063nxjtAvtJv+3vxgDpafsM4KtB/8YY0\nqciuwJBUd2zCzJw8PSaragJHz9HtK4qeDZbHiBGXOwpKd1uymQF+htzkRpyB\nCvIq3VR9Wz4rYOIM6yG0DHzQmLCEESX/triQb66I5uOcTOwspxv0bm2fX9wW\n3/LI0A8y80mg84qHGa/MN0jqH68L19oehLtOOPExmfRdoD43WK/HBFZXfEnp\n8TEzUI8zH+yReRtoG5+LNsOuIlnPWTdNX2gI0k797/EbFmZKfLmMQc2fRTYc\nfYgC\r\n=jTfW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH4pRBOMf8jSwj/JCYxddxpJTTiEJSFuoUU6lwwelAFEAiEAy8aKBLZgAOFL4IYd43B2mS80wC0hUu++X/kDAXMEn9w="}]},"maintainers":[{"email":"andreclima.pt@gmail.com","name":"acostalima"},{"email":"a.reis_05@hotmail.com","name":"afonsovreis"},{"email":"gmdz95@gmail.com","name":"dominguesgm"},{"email":"filipediasferreira@me.com","name":"filipediasf"},{"email":"fsdiogo@gmail.com","name":"fsdiogo"},{"email":"mail@hugodias.me","name":"hugomrdias"},{"email":"ivolimasilva@outlook.com","name":"ivolimasilva"},{"email":"joaomssmota@gmail.com","name":"joaomota"},{"email":"marcooliveira@me.com","name":"marcooliveira"},{"email":"hello@moxy.studio","name":"moxyhq"},{"email":"nelsonfonseca.18@gmail.com","name":"nlfonseca"},{"email":"paulobmarcos@outlook.com","name":"paulobmarcos"},{"email":"pedromiguelsousasantos@hotmail.com","name":"pedromiguelss"},{"email":"ricardo.silva@moxy.studio","name":"ricardo-silva91"},{"email":"ruimpmonteiro12345@gmail.com","name":"ruimonteiro"},{"email":"rui.neves@moxy.studio","name":"ruipneves"},{"email":"andremiguelcruz@msn.com","name":"satazor"},{"email":"vasco.santos@moxy.studio","name":"vascosantos"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/human-crypto-keys_0.1.2_1557161521366_0.836104729841413"},"_hasShrinkwrap":false},"0.1.3":{"name":"human-crypto-keys","version":"0.1.3","description":"Generate and import human-friendly cryptographic keys using mnemonics or seeds","main":"lib/index.js","module":"es/index.js","homepage":"https://github.com/ipfs-shipyard/js-human-crypto-keys#readme","author":{"name":"André Cruz","email":"andre@moxy.studio"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ipfs-shipyard/js-human-crypto-keys.git"},"keywords":["crypto","human","import","store","recover","deterministic","key","mnemonic","qr-code","bip39","bip0039","prng","seed"],"bugs":{"url":"https://github.com/ipfs-shipyard/js-human-crypto-keys/issues"},"scripts":{"build:commonjs":"BABEL_ENV=commonjs babel src -d lib --ignore \"**/__tests__\" --delete-dir-on-start","build:es":"BABEL_ENV=es babel src -d es --ignore \"**/__tests__\" --delete-dir-on-start","build":"npm run build:commonjs && npm run build:es","test":"jest --coverage","lint":"eslint --ignore-path .gitignore .","prerelease":"npm t && npm run lint && npm run build","release":"standard-version"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"standard-version":{"scripts":{"posttag":"git push --follow-tags origin master"}},"lint-staged":{"*.js":["eslint --fix","git add"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"jest":{"testRegex":"/__tests__/.*\\.test\\.js$"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@commitlint/config-conventional":"^7.5.0","babel-jest":"^24.5.0","babel-preset-moxy":"^3.0.4","commitlint":"^7.5.2","eslint":"^5.13.0","eslint-config-moxy":"^7.0.1","husky":"^2.1.0","jest":"^24.1.0","lint-staged":"^8.1.4","standard-version":"^5.0.0"},"dependencies":{"bip39":"^3.0.2","crypto-key-composer":"^0.1.0","hash.js":"^1.1.7","hmac-drbg":"^1.0.1","node-forge":"^0.8.2","pify":"^4.0.1"},"gitHead":"4b77ad54e9158101f506fbed135246cbed57a9ff","_id":"human-crypto-keys@0.1.3","_npmVersion":"6.5.0","_nodeVersion":"11.9.0","_npmUser":{"name":"paulobmarcos","email":"paulobmarcos@outlook.com"},"dist":{"integrity":"sha512-fQ3G2FdhUU7TywCePKqTei1iXzUEx9QulVPHEWM2ZRF7QjjGGas8038442K3ljHAumwp73iVBjM9z5uGSeKn+A==","shasum":"abd09d61892557e14af6381901beeb3e27c8065d","tarball":"https://registry.npmjs.org/human-crypto-keys/-/human-crypto-keys-0.1.3.tgz","fileCount":18,"unpackedSize":32822,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3S74CRA9TVsSAnZWagAAfCgP/j9tdsmeKWOgpsucqwhs\nddMbGOSTnPAlIuYh9Pjej6ZP3KmVK+eiZ0jVd1e25QSrSEowTIq9s1YT6wSm\n/xTATjlcrfuy3Tk9uetZ/xsFqieT2T+jhGnPUIdEqGfbmKcSIiTtkiu3AYIW\nXkSX/XMN+fm9h37bawqeXfpWLWpwDBaf7LApjXXFekwSSnY3O5pENdBMeqtt\nVumlN4PJsGu/EQhimEjpXDahvZEsLygENKhuITb45Ua4xWlFHHIEColRvGoc\n6TsUFvVmyPvnnjBs2NyFrM2fDiVDHg86dgiao/uz60OndcBJqzHeuPCUd05X\n/peIWdR/mssNOM+wh6NWgFac2IB1mvka4oA5rK3YHSXnR6QME0g1iNpWxVD9\napiC3IWG+QYLdjjqJY+jIgqBTYuUO4pPSG9i2xxzQqj3p2WK4TU+2yayUhHt\n7xHqxvPlOz0Oam7johqP5GIkBRVkjgYlg6Zr879UOqkBj6JK3kAh4jOypFJv\nFRfVaZoS2K5znwlHkW7VfbAHmzLXqsPVNvWETlTxjYQGxwsZJVYE97v2IHUc\nITa1KUcjP8ke6d2MK7/3mRxxWN1AO1Yuj9WJV0cGqAAIt/HTQgoEgfX1W88X\nL7dRMDu+bFBao9Q7AKTGnvzuRmFOUDybcFxgOF8oOldgT92dAWxxz5TatsUw\n3JnO\r\n=hh0d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqx6ZgRzMrx4I1Dq1FgNrilrYdzeR5pOMuz+TWFX3vIQIhANbVLhN8Lorqkwjf9urD0vkZaXuS4Fqb6XMnwIVN4Dbd"}]},"maintainers":[{"email":"andreclima.pt@gmail.com","name":"acostalima"},{"email":"a.reis_05@hotmail.com","name":"afonsovreis"},{"email":"gmdz95@gmail.com","name":"dominguesgm"},{"email":"filipediasferreira@me.com","name":"filipediasf"},{"email":"fsdiogo@gmail.com","name":"fsdiogo"},{"email":"mail@hugodias.me","name":"hugomrdias"},{"email":"ivolimasilva@outlook.com","name":"ivolimasilva"},{"email":"joaomssmota@gmail.com","name":"joaomota"},{"email":"marcooliveira@me.com","name":"marcooliveira"},{"email":"hello@moxy.studio","name":"moxyhq"},{"email":"nelsonfonseca.18@gmail.com","name":"nlfonseca"},{"email":"paulobmarcos@outlook.com","name":"paulobmarcos"},{"email":"pedromiguelsousasantos@hotmail.com","name":"pedromiguelss"},{"email":"ricardo.silva@moxy.studio","name":"ricardo-silva91"},{"email":"ruimpmonteiro12345@gmail.com","name":"ruimonteiro"},{"email":"rui.neves@moxy.studio","name":"ruipneves"},{"email":"andremiguelcruz@msn.com","name":"satazor"},{"email":"vasco.santos@moxy.studio","name":"vascosantos"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/human-crypto-keys_0.1.3_1557999351232_0.973263000080762"},"_hasShrinkwrap":false},"0.1.4":{"name":"human-crypto-keys","version":"0.1.4","description":"Generate and import human-friendly cryptographic keys using mnemonics or seeds","main":"lib/index.js","module":"es/index.js","homepage":"https://github.com/ipfs-shipyard/js-human-crypto-keys#readme","author":{"name":"André Cruz","email":"andre@moxy.studio"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ipfs-shipyard/js-human-crypto-keys.git"},"keywords":["crypto","human","import","store","recover","deterministic","key","mnemonic","qr-code","bip39","bip0039","prng","seed"],"bugs":{"url":"https://github.com/ipfs-shipyard/js-human-crypto-keys/issues"},"scripts":{"build:commonjs":"BABEL_ENV=commonjs babel src -d lib --ignore \"**/__tests__\" --delete-dir-on-start","build:es":"BABEL_ENV=es babel src -d es --ignore \"**/__tests__\" --delete-dir-on-start","build":"npm run build:commonjs && npm run build:es","test":"jest --coverage","lint":"eslint --ignore-path .gitignore .","prerelease":"npm t && npm run lint && npm run build","release":"standard-version"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"standard-version":{"scripts":{"posttag":"git push --follow-tags origin master"}},"lint-staged":{"*.js":["eslint --fix","git add"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"jest":{"testRegex":"/__tests__/.*\\.test\\.js$"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@commitlint/config-conventional":"^7.5.0","babel-jest":"^24.5.0","babel-preset-moxy":"^3.0.4","commitlint":"^7.5.2","eslint":"^5.13.0","eslint-config-moxy":"^7.0.1","husky":"^2.1.0","jest":"^24.1.0","lint-staged":"^8.1.4","standard-version":"^6.0.1"},"dependencies":{"bip39":"^3.0.2","crypto-key-composer":"^0.1.0","hash.js":"^1.1.7","hmac-drbg":"^1.0.1","node-forge":"^0.8.2","pify":"^4.0.1"},"gitHead":"b897b46fbeaac5672ad0af3b9da6f76acf0fd4b1","_id":"human-crypto-keys@0.1.4","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"dist":{"integrity":"sha512-4XwGU+M/bPSdw4fSpxQ9wCMsTAu9jSOJCwg25gi9goJPyyTrfHrc2krTor7o3DLJObieITZnF4lnIHnvcEjUcQ==","shasum":"703a008086496e3dcb7fa3643e8bce3b2b5329b5","tarball":"https://registry.npmjs.org/human-crypto-keys/-/human-crypto-keys-0.1.4.tgz","fileCount":20,"unpackedSize":34042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc6RCfCRA9TVsSAnZWagAAC2cP/jtMIX8TtUxLkYmGU94e\nmwQtIIdh1063pqKlZnnvkzaspFdk4ZF/Ox5aHZ3G7O7Pzq/j5m2Bwj8msUQ3\n2NfnBN519dhYhfB7WeLjiPaWm/UfD/ZOlnTlyhCvo5OYRiAd8WuH6MQBm34G\nzuR1DtXIFGFLmxXH9j45FkI4NSE6HpnAKl7scl39bGBwrkXPeTsE41KcJzQ9\nNtZv1IoHTSs1BmceBzMq6Y3LIx9mZkF3h4ZgGgr1lYQiNQejXCwyIGvUOY+1\nbOxEHuejqCoRriRQ1cXYspepUJ7CMVSzZB+SAVh3W9j4OtHCwwSxC4ujppYW\nuhW74muoThvqVBCaOSzkVT2IsZehnj47+HpC+/9LNnc50y4pkMhMdDEOLsIk\nbE7rspBiwh7DtEQKcbyO8TgeC1VHO++Y9ezGjswMlzw20vdxaohkLQvoj5Dm\nIHcblHgkX4cx+oSxam+b/pLxjKoQoy6CAHzb9y/H9L9ABAgW4KUNMonB6Eua\nN2HbPc37etbqK20bvoldpjSW1t6TA+fY8NagFc6EdoCDNTltp+QmZ6jwy8fL\nH5MyyPzCPW9JJt2gwL2QNvwsvfWFhSQw/iOTchz/HR1hfj9Hofq+b+hYQexG\nV6iwluJSzGcIYGa2Ou7deLagZvAno2hjDd8BrTtcZ0zFVlnx4yjiKgpW0gHj\nMA9n\r\n=nfdJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID+QBJhhx+Y5s8iy7VnaxiGQU7zmwry0lbK0f41azn6eAiEAsSuvwqTlAyycBBBzGGN/gFjKr7suTlsuad1fp0zNAiE="}]},"maintainers":[{"email":"andreclima.pt@gmail.com","name":"acostalima"},{"email":"a.reis_05@hotmail.com","name":"afonsovreis"},{"email":"gmdz95@gmail.com","name":"dominguesgm"},{"email":"filipediasferreira@me.com","name":"filipediasf"},{"email":"fsdiogo@gmail.com","name":"fsdiogo"},{"email":"mail@hugodias.me","name":"hugomrdias"},{"email":"ivolimasilva@outlook.com","name":"ivolimasilva"},{"email":"joaomssmota@gmail.com","name":"joaomota"},{"email":"marcooliveira@me.com","name":"marcooliveira"},{"email":"hello@moxy.studio","name":"moxyhq"},{"email":"nelsonfonseca.18@gmail.com","name":"nlfonseca"},{"email":"paulobmarcos@outlook.com","name":"paulobmarcos"},{"email":"pedromiguelsousasantos@hotmail.com","name":"pedromiguelss"},{"email":"ricardo.silva@moxy.studio","name":"ricardo-silva91"},{"email":"ruimpmonteiro12345@gmail.com","name":"ruimonteiro"},{"email":"rui.neves@moxy.studio","name":"ruipneves"},{"email":"andremiguelcruz@msn.com","name":"satazor"},{"email":"vasco.santos@moxy.studio","name":"vascosantos"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/human-crypto-keys_0.1.4_1558778014851_0.06129566785074858"},"_hasShrinkwrap":false}},"time":{"created":"2019-04-12T10:03:02.222Z","0.1.0":"2019-04-12T10:03:02.337Z","modified":"2022-05-05T10:33:58.479Z","0.1.1":"2019-04-23T17:52:27.897Z","0.1.2":"2019-05-06T16:52:01.474Z","0.1.3":"2019-05-16T09:35:51.446Z","0.1.4":"2019-05-25T09:53:34.952Z"},"maintainers":[{"email":"tiagoddinis@gmail.com","name":"tiagodinis"},{"email":"hello@moxy.studio","name":"moxyhq"},{"email":"filipediasferreira@me.com","name":"filipediasf"},{"email":"andremiguelcruz@msn.com","name":"satazor"},{"email":"marcooliveira@me.com","name":"marcooliveira"},{"email":"andreclima.pt@gmail.com","name":"acostalima"},{"email":"andregoncalves20007@gmail.com","name":"andregoncalvesdev"},{"email":"paulobmarcos@outlook.com","name":"paulobmarcos"}],"description":"Generate and import human-friendly cryptographic keys using mnemonics or seeds","homepage":"https://github.com/ipfs-shipyard/js-human-crypto-keys#readme","keywords":["crypto","human","import","store","recover","deterministic","key","mnemonic","qr-code","bip39","bip0039","prng","seed"],"repository":{"type":"git","url":"git+https://github.com/ipfs-shipyard/js-human-crypto-keys.git"},"author":{"name":"André Cruz","email":"andre@moxy.studio"},"bugs":{"url":"https://github.com/ipfs-shipyard/js-human-crypto-keys/issues"},"license":"MIT","readme":"# human-crypto-keys\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][codecov-image]][codecov-url] [![Dependency status][david-dm-image]][david-dm-url] [![Dev Dependency status][david-dm-dev-image]][david-dm-dev-url]\n\n[npm-url]:https://npmjs.org/package/human-crypto-keys\n[downloads-image]:http://img.shields.io/npm/dm/human-crypto-keys.svg\n[npm-image]:http://img.shields.io/npm/v/human-crypto-keys.svg\n[travis-url]:https://travis-ci.org/ipfs-shipyard/js-human-crypto-keys\n[travis-image]:http://img.shields.io/travis/ipfs-shipyard/js-human-crypto-keys/master.svg\n[codecov-url]:https://codecov.io/gh/ipfs-shipyard/js-human-crypto-keys\n[codecov-image]:https://img.shields.io/codecov/c/github/ipfs-shipyard/js-human-crypto-keys/master.svg\n[david-dm-url]:https://david-dm.org/ipfs-shipyard/js-human-crypto-keys\n[david-dm-image]:https://img.shields.io/david/ipfs-shipyard/js-human-crypto-keys.svg\n[david-dm-dev-url]:https://david-dm.org/ipfs-shipyard/js-human-crypto-keys?type=dev\n[david-dm-dev-image]:https://img.shields.io/david/dev/ipfs-shipyard/js-human-crypto-keys.svg\n\nGenerate and import human-friendly cryptographic keys using mnemonics or seeds.\n\n\n## Installation\n\n```sh\n$ npm install human-crypto-keys\n```\n\nThis library is written in modern JavaScript and is published in both CommonJS and ES module transpiled variants. If you target older browsers please make sure to transpile accordingly.\n\n\n## Usage\n\n```js\nimport { generateKeyPair, getKeyPairFromMnemonic, getKeyPairFromSeed } from 'human-crypto-keys';\n\nconst keyPair = await generateKeyPair('rsa');\n// => Generates a key pair with rsa encryption and provides information for recovery.\n\nconst keyPairFromMnemonic = await getKeyPairFromMnemonic(keyPair.mnemonic, keyPair.algorithm);\n// => Generates the same key pair based on the mnemonic.\n\nconst keyPairFromSeed = await getKeyPairFromSeed(keyPair.seed, keyPair.algorithm);\n// => Generates the same key pair based on the seed.\n```\n\n> ⚠️ human-crypto-keys depends on cryptographic modules that can increase the bundle size of your projects significantly. You might want to break big bundles in smaller pieces with the help of [dynamic imports](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#Dynamic_Imports).\n\n## API\n\n### generateKeyPair(algorithm, [options])\n\nGenerates a key pair based on the specified algorithm.\n\nReturns an object with the following:\n```js\n{\n    algorithm,  // An object with the algorithm identifier and respective parameters that were used during generation.\n    mnemonic,   // The mnemonic used to create a seed for generation.\n    seed,       // The seed used for generation.\n    privateKey, // The generated private key composed in a specific format.\n    publicKey,  // The generated public key composed in a specific format.\n}\n```\n\n#### algorithm\n\nType: `Object` or `String`\n\nThe algorithm identifier and the respective parameters to generate a key pair. Please read the [algorithm](#algorithm-3) section for more information.\n\n#### options\n\nType: `Object`\n\nOptions to be used while composing keys. Please read the [options](#options-3) section for more information.\n\n### getKeyPairFromMnemonic(mnemonic, algorithm, [options])\n\nGenerates a key pair based on the specified mnemonic and algorithm.\n\nReturns an object with the following:\n```js\n{\n    privateKey, // The generated private key composed in a specific format.\n    publicKey,  // The generated public key composed in a specific format.\n}\n```\n\n#### mnemonic\n\nType: `String`\n\nThe mnemonic provided as one of the recovery methods for a key pair.\n\n#### algorithm\n\nType: `Object` or `String`\n\nThe algorithm identifier and the respective parameters to generate a key pair. Please read the [algorithm](#algorithm-3) section for more information.\n\n#### options\n\nType: `Object`\n\nOptions to be used while composing keys. Please read the [options](#options-3) section for more information.\n\n### getKeyPairFromSeed(seed, algorithm, [options])\n\nGenerates a key pair based on the specified seed and algorithm.\n\nReturns an object with the following:\n```js\n{\n    privateKey, // The generated private key composed in a specific format.\n    publicKey,  // The generated public key composed in a specific format.\n}\n```\n\n#### seed\n\nType: `String`\n\nThe seed provided as one of the recovery methods for a key pair.\n\n#### algorithm\n\nType: `Object` or `String`\n\nThe algorithm identifier and the respective parameters to generate a key pair. Please read the [algorithms](#algorithm-3) section for more information.\n\n#### options\n\nType: `Object`\n\nOptions to be used while composing keys. Please read the [options](#options-3) section for more information.\n\n### Common Parameters\n\n#### algorithm\n\nType: `Object` or `String`\n\nThe algorithm identifier and the respective parameters to generate a key pair.\n\nIt can be specified as an `Object` or a `String`. Using an `Object` will provide freedom to override default algorithm parameters in relation to its type. On the other hand, a `String` presents a useful and quick approach if the default parameters are suitable.\n\nThe default parameters are different for each algorithm type. Currently only 2 types are supported:\n\n<details><summary><strong>RSA</strong></summary>\n\nDefault Parameters:\n```js\n{\n\tmodulusLength: 2048\t\t    // Number\n\tpublicExponent: 65537\t\t// Number\n\tmethod: 'PRIMEINC'\t\t    // String\n}\n```\n\nYou can override only the parameters that you need, all the other ones remain with default values.\n\n> ⚠️ Please make sure that values follow the same type as default ones. Also, parameters that are not available as default are not supported.\n\nExample `Object`:\n```js\nconst algorithm = { id: 'rsa', modulusLength: 4096 };\n```\n\nExample `String`:\n```js\nconst algorithm = 'rsa';\n```\n\nIn the examples above we are using an alias for RSA encryption. Although this is possible, the full list of supported RSA key algorithms can be found in the [RSA Keys Section](https://github.com/ipfs-shipyard/js-crypto-key-composer/tree/initial-impl#key-algorithms) of [crypto-key-composer](https://github.com/ipfs-shipyard/js-crypto-key-composer) package.\n\n##### Generation\n\nThe following steps detail how the generation of a RSA key pair is being done:\n1. Create a Pseudorandom Number Generator, `prng` for short, with [HMAC-DRBG](https://github.com/indutny/hmac-drbg) using a `seed` as its generation entropy. This seed is directly provided when using `getKeyFromSeed` or inferred from a mnemonic passed in `getKeyFromMnemonic`. If neither the seed nor the mnemonic are available they can both be generated, as done in `generateKeyPair`. The generation of a mnemonic and its derived seed are done with [bip39](https://github.com/bitcoinjs/bip39), a well established method used in bitcoin wallets.\n2. Generate a key pair, using [Node Forge RSA](https://github.com/digitalbazaar/forge#rsa) generation method, with all necessary algorithm parameters and the `prng` created previously.\n3. Compose both keys with the defined formats.\n\n</details>\n\n<details><summary><strong>ED25519</strong></summary>\n\nThis algorithm doesn't have any default parameters since it just relies on 32 bytes randomly generated.\n\nExample `Object`:\n```js\nconst algorithm = { id: 'ed25519' };\n```\n\nExample `String`:\n```js\nconst algorithm = 'ed25519';\n```\n\n##### Generation\n\nThe following steps detail how the generation of a ED25519 key pair is being done:\n1. Generate a key pair, using [Node Forge ED25519](https://github.com/digitalbazaar/forge#ed25519) generation method, with a 32 bytes `seed`. If the seed is bigger than the necessary size, only the first 32 bytes will be used. This seed is directly provided when using `getKeyFromSeed` or inferred from a mnemonic passed in `getKeyFromMnemonic`. If neither the seed nor the mnemonic are available they can both be generated, as done in `generateKeyPair`. The generation of a mnemonic and its derived seed are done with [bip39](https://github.com/bitcoinjs/bip39), a well established method used in bitcoin wallets. \n2. Compose both keys with the defined formats.\n\n</details>\n\n#### options\n\nType: `Object`\n\nThe current options allow you to decide both private and public key formats, the private key encryption and the password to use to encrypt the key.\n\nAvailable options:\n\n<details><summary><strong>privateKeyFormat</strong></summary>\n\nType: `String`\n\nDefault: `pkcs8-pem`\n\nThe format in which the private key will be composed.\n\nKeys can be composed in different formats and vary by algorithm. All formats available are described in the [Formats Section](https://github.com/ipfs-shipyard/js-crypto-key-composer/tree/initial-impl#formats) of [crypto-key-composer](https://github.com/ipfs-shipyard/js-crypto-key-composer) package.\n\n</details>\n\n<details><summary><strong>publicKeyFormat</strong></summary>\n\nType: `String`\n\nDefault: `spki-pem`\n\nThe format in which the public key will be composed.\n\nKeys can be composed in different formats and vary by algorithm. All formats available are described in the [Formats Section](https://github.com/ipfs-shipyard/js-crypto-key-composer/tree/initial-impl#formats) of [crypto-key-composer](https://github.com/ipfs-shipyard/js-crypto-key-composer) package.\n\n</details>\n\n<details><summary><strong>encryptionAlgorithm</strong></summary>\n\nType: `Object`\n\nThe encryption algorithm that will be used to encrypt the private key.\n\nFor more information please read the [Encryption Algorithms Section](https://github.com/ipfs-shipyard/js-crypto-key-composer/tree/initial-impl#encryption-algorithms) of [crypto-key-composer](https://github.com/ipfs-shipyard/js-crypto-key-composer) package.\n</details>\n\n<details><summary><strong>password</strong></summary>\n\nType: `String`\n\nThe password to be used on the encryption of the private key.\n</details>\n\n## Tests\n\n```sh\n$ npm test\n$ npm test -- --watch # during development\n```\n\n## License\n\nReleased under the [MIT License](http://www.opensource.org/licenses/mit-license.php).\n","readmeFilename":"README.md"}