{"_id":"crypto-pbkdf2-hmac","_rev":"6-fea654628726543b0d5c252b0305f367","name":"crypto-pbkdf2-hmac","dist-tags":{"latest":"2.2.2"},"versions":{"1.0.0":{"name":"crypto-pbkdf2-hmac","version":"1.0.0","keywords":["crypto","pbkdf2-hmac","pbkdf2","key","derivation","isomorphic"],"author":{"name":"Fabio Spampinato","email":"spampinabio@gmail.com"},"license":"MIT","_id":"crypto-pbkdf2-hmac@1.0.0","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/crypto-pbkdf2-hmac#readme","bugs":{"url":"https://github.com/fabiospampinato/crypto-pbkdf2-hmac/issues"},"dist":{"shasum":"7bb77a5a88b5cab963a1283a0dccf02abda4bc81","tarball":"https://registry.npmjs.org/crypto-pbkdf2-hmac/-/crypto-pbkdf2-hmac-1.0.0.tgz","fileCount":13,"integrity":"sha512-sMfFVLM1cxHbamM7krLR7lZ/pQ7dyc2qkP99JPGZh353GjKa1WPKd9xjB5n+p9ChvTrWhXaZBISobCAxGWsxTg==","signatures":[{"sig":"MEUCIQDE+l7Tv6xsgEb+XVC84DREEDEAOLSr9WBs6FE0DTlSIgIgC6mP74gG/MA1j/+ju5DP5ySVJ8BSSTz5ZjY3HTXpbVY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20131,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAe/+CRA9TVsSAnZWagAAzhUP/1svC6SmIrROtHgTRXgY\nNKzQwns4Ukf2XkQIzY5EniSmM9e2VMhjmyNVwwoAyf6FXU66lx7uQKOqWw6l\nDGyOoK38waVYTRxTg1A20BnIvhZtHIkBBPOMSbcjyl4OGmPE9mCnoD4tWKOT\nSUf2GAa9lzLnmK1MhMQnKKwaf6y5oL+/kyLBrHeoBDku0jOfJZqVRv2gam2+\ny4CuM4IWGweOQkieMx2O7/GVHv+pz5rajhqscqxnyRqcVF8E7i0rCyTrmSCw\nh0alORfq3LNHEmYgVjcn+Awk+vfBRjogO7K191FvfbjTbbjBPPune5yFkpBM\nb06Ob559NDzigbT6LLMAPcAIF/8SfaNMGRMyWzY+jxUKC/VcONBV6YMZ7CCC\nrphvpw2lOasFXLUxBvGtL0fp1A9C7NR8C+Lhg8HCODtEezwO3ohH189AHFpQ\nDBa2R38wLYIbw6FDSOVRUCwA1qk83raFElWDdmxGg3Q3Sp+Zu5F7d2wWs34n\nDqEpngKAhRVaf8/BJH79eYOkg7YrzqbOmP/XAufjLahEUZ/r+2WLQffeqfHC\nTZWd5NaQtOEGs0nuvPiGUPdPGuqJEFZluJzUSjO/6yEKg3jL+ohaCg/KO/L8\ndg6i1MZAeHzrjxhPZ3SNimZjpyPvuGzv3ASgk1tEGIgrvznn2XQDkG8imuAD\nlE8u\r\n=W34h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/node.js","types":"dist/node.d.ts","exports":{"node":"./dist/node.js","default":"./dist/browser.js"},"gitHead":"cd116adc2b50085d1da6e7507d4e0189902a9a7c","scripts":{"test":"fava","clean":"rimraf dist","compile":"tsc --skipLibCheck && tstei","benchmark":"node tasks/benchmark.js","test:watch":"fava -w","compile:watch":"tsc --skipLibCheck --watch","prepublishOnly":"npm run clean && npm run compile && npm run test"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/crypto-pbkdf2-hmac.git","type":"git"},"_npmVersion":"8.1.0","description":"Isomorphic wrapper for the PBKDF2-HMAC key derivation function.","directories":{},"_nodeVersion":"16.13.0","dependencies":{"uint8-to-hex":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"fava":"^0.0.4","rimraf":"^3.0.2","typescript":"^4.5.5","@types/node":"^17.0.16","typescript-transform-export-interop":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/crypto-pbkdf2-hmac_1.0.0_1644294142600_0.2159360706389437","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"crypto-pbkdf2-hmac","version":"2.0.0","keywords":["crypto","pbkdf2-hmac","pbkdf2","key","derivation","isomorphic"],"_id":"crypto-pbkdf2-hmac@2.0.0","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/crypto-pbkdf2-hmac#readme","bugs":{"url":"https://github.com/fabiospampinato/crypto-pbkdf2-hmac/issues"},"dist":{"shasum":"695dbb345149b252f3e6f2cabf988300a0954650","tarball":"https://registry.npmjs.org/crypto-pbkdf2-hmac/-/crypto-pbkdf2-hmac-2.0.0.tgz","fileCount":10,"integrity":"sha512-jBEQryBFdUW+ea3OibYSXZZRzywNx3MSQago35EP5l+Rj5cLRdKhL+2NyxP1dbiM+0ClKCsrtITh+BsbGmbkUg==","signatures":[{"sig":"MEUCIQCNl1zJg6k2gcMzNVb/xjdbIsVNRLCP4Cd8DP7pl1+BtgIgNZOpU9fdGd0FMd3nzyxee3aO+5yt1xAfay2EOGJOWIM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTLjwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoWOw//XG0yFmuKIx9EMeb1/RqHHeuYUR1y+O+uuyp4nSJeMwJa8stZ\r\nj3O06J32vmCZbhcEx9Sb7QGWhrukk/He2tI2vmAVbJwrdzbBJl/LsxOYG87m\r\n/WjRFRPYsBJd0g8b1zZRD/9h4ZN+Nhp1WkA/qCJXNpq+UFd9t94FauC0NqU0\r\n5tqWUskvq/g9bW6IqEdK/3BWTp7Ha4dGkdMZWp53L53OjCK6Y2H9ovMTtLJ3\r\nU2W5Phpeeboa2eLdIb/0QN6kHIY924YVVTFZtOyKQ7Q84hIQ+oBZrXBiujA8\r\n7SjJeOpo6pD7gvgHd3gKXzN52t6RywRZYD7SRD4PWF9nXbJLKyo6wzwrFyWk\r\nC2aawTEHeH+FmRwd6Bk2tC4D5mYcMZCqodnU6KntPlctPeIHheVRFMN14ygp\r\n4aZ1g3seswES1oYdRIh8ThJoSffHX+G4reCBw2EdxV4R1mS/vu7GkdvQscwB\r\nFmZqxMxqjgQc4NgrQVBn6e8+/4VHbaTzsPQQHH2Ng5H9lQbP78XgBYiOnaXv\r\nXsJzPsaSzVMohsaPpnVB6Fu2h+fs5tgg96rA4txZkSgi2SbV47wwc0yrXPFC\r\nrC9Gk4j7flRoEw1uaOQwrvj8CcyYXmp19F+oyZSymMBCUpLFOXr78qDR8NiV\r\ndnfuOAMIAmTTq/h5Xt5+XrFsbkhl2YOhakA=\r\n=ty8z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":"./dist/index.js","gitHead":"acfd8f0eeee6963f42038aa0059f134f72782355","scripts":{"test":"tsex test","clean":"tsex clean","compile":"tsex compile","benchmark":"tsex benchmark","test:watch":"tsex test --watch","compile:watch":"tsex compile --watch","prepublishOnly":"npm run clean && npm run compile && npm run test","benchmark:watch":"tsex benchmark --watch"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/crypto-pbkdf2-hmac.git","type":"git"},"_npmVersion":"8.1.0","description":"Isomorphic wrapper for the PBKDF2-HMAC key derivation function.","directories":{},"_nodeVersion":"16.13.0","dependencies":{"uint8-to-hex":"^2.0.0","tiny-webcrypto":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"fava":"^0.0.6","tsex":"^1.0.4","typescript":"^4.6.3"},"_npmOperationalInternal":{"tmp":"tmp/crypto-pbkdf2-hmac_2.0.0_1649195248338_0.5365072156626007","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"crypto-pbkdf2-hmac","version":"2.1.0","keywords":["crypto","pbkdf2-hmac","pbkdf2","key","derivation","isomorphic"],"_id":"crypto-pbkdf2-hmac@2.1.0","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/crypto-pbkdf2-hmac#readme","bugs":{"url":"https://github.com/fabiospampinato/crypto-pbkdf2-hmac/issues"},"dist":{"shasum":"9e4c0df59385cab3845df53b20b3084d0611333d","tarball":"https://registry.npmjs.org/crypto-pbkdf2-hmac/-/crypto-pbkdf2-hmac-2.1.0.tgz","fileCount":10,"integrity":"sha512-vLQK7Ee7y0Sic3IQLVu58qXP0kQKLjCcjBQu2CMPqtspdyUE2mWJ/NKatnb6EReZYKMwvo3VpvaSDggSEWoYfw==","signatures":[{"sig":"MEYCIQDLTtSlCwQ6o+gyB8+xaFcyJL7Iaq4J8Uq5bmN0xP7EeAIhAPKKnB3uP0hj+9JHedE0y/Sr8v6kl9gZHi8IG5h9d/nM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18727},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":"./dist/index.js","gitHead":"86aa9734f3f58c73fefd7e75b4259422eff9df84","scripts":{"test":"tsex test","clean":"tsex clean","compile":"tsex compile","benchmark":"tsex benchmark","test:watch":"tsex test --watch","compile:watch":"tsex compile --watch","prepublishOnly":"tsex prepare","benchmark:watch":"tsex benchmark --watch"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/crypto-pbkdf2-hmac.git","type":"git"},"_npmVersion":"8.19.2","description":"Isomorphic wrapper for the PBKDF2-HMAC key derivation function.","directories":{},"_nodeVersion":"18.12.0","dependencies":{"uint8-to-hex":"^2.0.0","tiny-webcrypto":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"fava":"^0.2.1","tsex":"^3.0.1","benchloop":"^2.1.1","typescript":"^5.1.6"},"_npmOperationalInternal":{"tmp":"tmp/crypto-pbkdf2-hmac_2.1.0_1691412579853_0.027764448608634584","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"crypto-pbkdf2-hmac","version":"2.2.0","keywords":["crypto","pbkdf2-hmac","pbkdf2","key","derivation","isomorphic"],"_id":"crypto-pbkdf2-hmac@2.2.0","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/crypto-pbkdf2-hmac#readme","bugs":{"url":"https://github.com/fabiospampinato/crypto-pbkdf2-hmac/issues"},"dist":{"shasum":"785f864b059ca4129b1ca339181c7d18d55c14d5","tarball":"https://registry.npmjs.org/crypto-pbkdf2-hmac/-/crypto-pbkdf2-hmac-2.2.0.tgz","fileCount":10,"integrity":"sha512-6NGI3axIIpZOSyc2TCEqFESWiay+mO8MVefjrOhD8cfhbHj90Qz9U51ZpqQQhWGz09NMGpi1qPQd4mbL/2JkXw==","signatures":[{"sig":"MEUCIGzUK61+AS3/DqaNyXN8vKsrbqGuKB6q8hUAMcP1FVNpAiEAzS2OnzSreUNPKt3yvS6dQrxvmvu3b4+72FsZCinboo8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19611},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":"./dist/index.js","gitHead":"402ce55261b17205f3ad1c56b67d00af07910cb3","scripts":{"test":"tsex test","clean":"tsex clean","compile":"tsex compile","benchmark":"tsex benchmark","test:watch":"tsex test --watch","compile:watch":"tsex compile --watch","prepublishOnly":"tsex prepare","benchmark:watch":"tsex benchmark --watch"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/crypto-pbkdf2-hmac.git","type":"git"},"_npmVersion":"8.19.2","description":"Isomorphic wrapper for the PBKDF2-HMAC key derivation function.","directories":{},"_nodeVersion":"18.12.0","dependencies":{"uint8-to-hex":"^2.0.0","tiny-webcrypto":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"fava":"^0.2.1","tsex":"^3.0.1","benchloop":"^2.1.1","typescript":"^5.1.6"},"_npmOperationalInternal":{"tmp":"tmp/crypto-pbkdf2-hmac_2.2.0_1691426870897_0.6137084445251288","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"crypto-pbkdf2-hmac","version":"2.2.1","keywords":["crypto","pbkdf2-hmac","pbkdf2","key","derivation","isomorphic"],"_id":"crypto-pbkdf2-hmac@2.2.1","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/crypto-pbkdf2-hmac#readme","bugs":{"url":"https://github.com/fabiospampinato/crypto-pbkdf2-hmac/issues"},"dist":{"shasum":"460e5e8827be96a6ffc6128a388761893953f450","tarball":"https://registry.npmjs.org/crypto-pbkdf2-hmac/-/crypto-pbkdf2-hmac-2.2.1.tgz","fileCount":10,"integrity":"sha512-cYL8tWLDbqfzlYUSy6vBUFj4rI9QJxBnE9dA+gunbyRyGw3qLQfiYNQsSWf/xxnzQ5BU6kaZPHeRvDPOMM26RQ==","signatures":[{"sig":"MEYCIQCskgIbbWw3Was085kRlAHyYMIntKS02R2rRsqI8ygoJgIhANHB4XJrPQWZM9YqS8cVhbpNCa0SZIINifBpCf08ivgx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19731},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":"./dist/index.js","gitHead":"2b577dfa645896650f6dd5b07d11b2678d214da3","scripts":{"test":"tsex test","clean":"tsex clean","compile":"tsex compile","benchmark":"tsex benchmark","test:watch":"tsex test --watch","compile:watch":"tsex compile --watch","prepublishOnly":"tsex prepare","benchmark:watch":"tsex benchmark --watch"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/crypto-pbkdf2-hmac.git","type":"git"},"_npmVersion":"8.19.2","description":"Isomorphic wrapper for the PBKDF2-HMAC key derivation function.","directories":{},"_nodeVersion":"18.12.0","dependencies":{"uint8-to-hex":"^2.0.0","tiny-webcrypto":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"fava":"^0.2.1","tsex":"^3.0.1","benchloop":"^2.1.1","typescript":"^5.1.6"},"_npmOperationalInternal":{"tmp":"tmp/crypto-pbkdf2-hmac_2.2.1_1691427882996_0.9016009756595342","host":"s3://npm-registry-packages"}},"2.2.2":{"name":"crypto-pbkdf2-hmac","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/crypto-pbkdf2-hmac.git"},"description":"Isomorphic wrapper for the PBKDF2-HMAC key derivation function.","license":"MIT","version":"2.2.2","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"benchmark":"tsex benchmark","benchmark:watch":"tsex benchmark --watch","clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["crypto","pbkdf2-hmac","pbkdf2","key","derivation","isomorphic"],"dependencies":{"tiny-webcrypto":"^1.0.2","uint8-to-hex":"^2.0.1"},"devDependencies":{"benchloop":"^2.1.1","fava":"^0.3.4","tsex":"^4.0.2","typescript":"^5.7.3"},"_id":"crypto-pbkdf2-hmac@2.2.2","gitHead":"b0966482483a456e3ac0b8d8faffd5818a15b904","bugs":{"url":"https://github.com/fabiospampinato/crypto-pbkdf2-hmac/issues"},"homepage":"https://github.com/fabiospampinato/crypto-pbkdf2-hmac#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-Ur9N3CLTpL/2S2hxaLvREbCIMX5TzhUGAyhe665ayuRDreTivABUDJUIxJkBOQcrvctEwyQMPougz3pX5SXwjw==","shasum":"a6313f5c07129726c2cad3e50f9bf91e0a1c91a0","tarball":"https://registry.npmjs.org/crypto-pbkdf2-hmac/-/crypto-pbkdf2-hmac-2.2.2.tgz","fileCount":5,"unpackedSize":7357,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrwRsAaBPgX1xK+ViZkvTDvgYOLzuQcfj2NE07Fo+rnwIgY8RN3XBvFFLf0NkZLVhMjflDK0l6TwHrUt6/zoJGhjw="}]},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/crypto-pbkdf2-hmac_2.2.2_1737071866992_0.3997923968371395"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-08T04:22:22.600Z","modified":"2025-01-16T23:57:47.372Z","1.0.0":"2022-02-08T04:22:22.724Z","2.0.0":"2022-04-05T21:47:28.424Z","2.1.0":"2023-08-07T12:49:40.008Z","2.2.0":"2023-08-07T16:47:51.045Z","2.2.1":"2023-08-07T17:04:43.254Z","2.2.2":"2025-01-16T23:57:47.172Z"},"bugs":{"url":"https://github.com/fabiospampinato/crypto-pbkdf2-hmac/issues"},"homepage":"https://github.com/fabiospampinato/crypto-pbkdf2-hmac#readme","keywords":["crypto","pbkdf2-hmac","pbkdf2","key","derivation","isomorphic"],"repository":{"type":"git","url":"git+https://github.com/fabiospampinato/crypto-pbkdf2-hmac.git"},"description":"Isomorphic wrapper for the PBKDF2-HMAC key derivation function.","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"readme":"# Crypto PBKDF2-HMAC\n\nIsomorphic wrapper for the PBKDF2-HMAC key derivation function.\n\n## Install\n\n```sh\nnpm install crypto-pbkdf2-hmac\n```\n\n## Usage\n\n```ts\nimport pbkdf2 from 'crypto-pbkdf2-hmac';\n\n// Let's derive a key with the default format (hex)\n\nawait pbkdf2.sha1 ( 'P@ssword!', 'da39a3ee5e6b4b0d3255bfef95601890afd80709', 1000, 20 ); // => 'a580873960d83dc5b1b6606c3ddf289dcb049b61'\nawait pbkdf2.sha256 ( 'P@ssword!', 'da39a3ee5e6b4b0d3255bfef95601890afd80709', 1000, 32 ); // => 'ca768ef0b0eedfafe1cf4961b72dc523d66ff4730ecab9320e3d1ab3eecb5fa0'\nawait pbkdf2.sha384 ( 'P@ssword!', 'da39a3ee5e6b4b0d3255bfef95601890afd80709', 1000, 48 ); // => '52ec30653d24d8b4bf3b1b8d6f20a6778115be23e66b93cbdedf523c82109b1a2a521c7219eae544c8de1c625291540a'\nawait pbkdf2.sha512 ( 'P@ssword!', 'da39a3ee5e6b4b0d3255bfef95601890afd80709', 1000, 64 ); // => 'e6f8a7b90d9d5aa236d24d307c9bda5054eea2926b35c88ef9fc12c7b26532943f3dbf57d44e9d3c1804e393d4e693e86601a39c9e5e77200c97e23e0abc67a8'\n\n// Let's derive a key with a specific supported format\n\nawait pbkdf2.sha1.buffer ( 'P@ssword!', 'da39a3ee5e6b4b0d3255bfef95601890afd80709', 1000, 20 ); // => ArrayBuffer(20) <a5 80 87 39 60 d8 3d c5 b1 b6 60 6c 3d df 28 9d cb 04 9b 61>\nawait pbkdf2.sha1.uint8 ( 'P@ssword!', 'da39a3ee5e6b4b0d3255bfef95601890afd80709', 1000, 20 ); // => Uint8Array(20) [165, 128, 135, 57, 96, 216, 61, 197, 177, 182, 96, 108, 61, 223, 40, 157, 203, 4, 155, 97]\nawait pbkdf2.sha1.hex ( 'P@ssword!', 'da39a3ee5e6b4b0d3255bfef95601890afd80709', 1000, 20 ); // => 'a580873960d83dc5b1b6606c3ddf289dcb049b61'\n```\n\n## License\n\nMIT © Fabio Spampinato\n","readmeFilename":"readme.md","license":"MIT"}