{"_id":"@phc/argon2","_rev":"13-5ca36ce75584eea94fa7d232f7504664","name":"@phc/argon2","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.0":{"version":"1.0.0","name":"@phc/argon2","description":"Node.JS Argon2 password hashing algorithm following the PHC string format","license":"MIT","homepage":"https://github.com/simonepri/phc-argon2#readme","repository":{"type":"git","url":"git+https://github.com/simonepri/phc-argon2.git"},"bugs":{"url":"https://github.com/simonepri/phc-argon2/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"}],"keywords":["brute","brute force","credential","credential-plus","crypto","hash","function","hashing","password","password-argon2","passwords","pbkdf","argon2","argon2-password","psswrd","pswd","rainbow","safe","safe","salt","secure","security","stretching","strong","timining","attack","verification","verify"],"main":"index.js","files":["index.js"],"engines":{"node":">=4"},"scripts":{"bench":"node bench.js","test":"xo &&nyc ava","release":"np","update":"npm-check -u"},"publishConfig":{"access":"public"},"dependencies":{"@phc/format":"^0.3.4","argon2":"^0.16.2"},"devDependencies":{"ava":"*","execa":"^0.10.0","np":"*","npm-check":"*","nyc":"*","sympact":"*","xo":"*"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true},"gitHead":"d9a3eb444703c87fe79e77090250827bd0016f77","_id":"@phc/argon2@1.0.0","_npmVersion":"5.7.1","_nodeVersion":"8.9.4","_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"dist":{"integrity":"sha512-8ZOKWrDbZE7YJ5nH+Iu/PInrF6p3D34JXFRZZF+LTLDUYe0ghE3XW53TjNPgdr5W6E1BE/gB77nsLUBKHWv5KQ==","shasum":"df9c00d9bf2c02cf7a5f7bf1590fd1e6e82198e9","tarball":"https://registry.npmjs.org/@phc/argon2/-/argon2-1.0.0.tgz","fileCount":4,"unpackedSize":29011,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChY+yCr5xskT4ZGykvNTOSPUyCdrcom8DcErjKCt9UywIgUvAC8/m4Y7+P3zuTmRzlt6MXL+ZfAG6A2Lf6YJfQBa8="}]},"maintainers":[{"name":"simonepri","email":"simonepri@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/argon2_1.0.0_1522425590954_0.6922433894111666"},"_hasShrinkwrap":false},"1.0.1":{"version":"1.0.1","name":"@phc/argon2","description":"Node.JS Argon2 password hashing algorithm following the PHC string format","license":"MIT","homepage":"https://github.com/simonepri/phc-argon2#readme","repository":{"type":"git","url":"git+https://github.com/simonepri/phc-argon2.git"},"bugs":{"url":"https://github.com/simonepri/phc-argon2/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"}],"keywords":["brute","brute force","credential","credential-plus","crypto","hash","function","hashing","password","password-argon2","passwords","pbkdf","argon2","argon2-password","psswrd","pswd","rainbow","safe","safe","salt","secure","security","stretching","strong","timining","attack","verification","verify"],"main":"index.js","files":["index.js"],"engines":{"node":">=6"},"scripts":{"bench":"node bench.js","test":"xo &&nyc ava","release":"np","update":"npm-check -u"},"publishConfig":{"access":"public"},"dependencies":{"@phc/format":"^0.3.4","argon2":"^0.17.3"},"devDependencies":{"ava":"*","execa":"^0.10.0","np":"*","npm-check":"*","nyc":"*","sympact":"*","xo":"*"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true},"gitHead":"bd9504dfaed2b29c131e2aa0244751e55936c63c","_id":"@phc/argon2@1.0.1","_npmVersion":"5.7.1","_nodeVersion":"8.9.4","_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"dist":{"integrity":"sha512-bC7ubY70QNeCUSAUp5mejbofmukydV+cFkQsx1ph1kk0ji4E7Nw1ubWIAxs2cuT4UDn30AzJaoL+pWl7dGn3Gg==","shasum":"77ae75dfc2d6832434dcf960c564e82f57c1a627","tarball":"https://registry.npmjs.org/@phc/argon2/-/argon2-1.0.1.tgz","fileCount":4,"unpackedSize":29011,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7rOFubeKbPWV/gcUoVyeoFPOxaUp8uvHAA2VoIZK4pQIgSgydcDiOf+GLxULissQTvmn5mb6rgeE1DQ27iLPzQbA="}]},"maintainers":[{"name":"simonepri","email":"simonepri@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/argon2_1.0.1_1522430783605_0.6208897463318372"},"_hasShrinkwrap":false},"1.0.2":{"version":"1.0.2","name":"@phc/argon2","description":"Node.JS Argon2 password hashing algorithm following the PHC string format","license":"MIT","homepage":"https://github.com/simonepri/phc-argon2#readme","repository":{"type":"git","url":"git+https://github.com/simonepri/phc-argon2.git"},"bugs":{"url":"https://github.com/simonepri/phc-argon2/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"}],"keywords":["brute","brute force","credential","credential-plus","crypto","hash","function","hashing","password","password-argon2","passwords","pbkdf","argon2","argon2-password","psswrd","pswd","rainbow","safe","safe","salt","secure","security","stretching","strong","timining","attack","verification","verify"],"main":"index.js","files":["index.js"],"engines":{"node":">=6"},"scripts":{"bench":"node bench.js","test":"xo &&nyc ava","release":"np","update":"npm-check -u"},"publishConfig":{"access":"public"},"dependencies":{"@phc/format":"^0.3.4","argon2":"^0.17.3"},"devDependencies":{"ava":"*","execa":"^0.10.0","np":"*","npm-check":"*","nyc":"*","sympact":"*","xo":"*"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true},"gitHead":"518c01e9169201d78dd1a1bef64f68ba4effc483","_id":"@phc/argon2@1.0.2","_npmVersion":"5.7.1","_nodeVersion":"8.9.4","_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"dist":{"integrity":"sha512-LGZJn6sJcn/G6S+CGSYHSGiq46qS3R8vP4a6anXLKrCdY0vhYq8Vi8ZEPJzeYApuRINjZwx3ZeEdiYhkhJWtfQ==","shasum":"f2f8d04709ede55181deb079c3231cd848f492ec","tarball":"https://registry.npmjs.org/@phc/argon2/-/argon2-1.0.2.tgz","fileCount":4,"unpackedSize":30111,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE+KtZab377KqmOzXsOBAgR9gTQt2mgQWvoCOuJKWyPoAiEA2/FBZ3l6XuCG7TN/dS1FdwQtjDntUa6uihLsgr+Jmug="}]},"maintainers":[{"name":"simonepri","email":"simonepri@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/argon2_1.0.2_1522573309090_0.6024378742363794"},"_hasShrinkwrap":false},"1.0.3":{"version":"1.0.3","name":"@phc/argon2","description":"Node.JS Argon2 password hashing algorithm following the PHC string format","license":"MIT","homepage":"https://github.com/simonepri/phc-argon2#readme","repository":{"type":"git","url":"git+https://github.com/simonepri/phc-argon2.git"},"bugs":{"url":"https://github.com/simonepri/phc-argon2/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"}],"keywords":["brute","brute force","credential","credential-plus","crypto","hash","function","hashing","password","password-argon2","passwords","pbkdf","argon2","argon2-password","psswrd","pswd","rainbow","safe","safe","salt","secure","security","stretching","strong","timining","attack","verification","verify"],"main":"index.js","files":["index.js"],"engines":{"node":">=6"},"scripts":{"bench":"node bench.js","test":"xo &&nyc ava","release":"np","update":"npm-check -u"},"publishConfig":{"access":"public"},"dependencies":{"@phc/format":"^0.3.4","argon2":"^0.17.3"},"devDependencies":{"ava":"*","execa":"^0.10.0","np":"*","npm-check":"*","nyc":"*","sympact":"*","xo":"*"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true},"gitHead":"20937feb353e66395fd492daa1e0549cc1737737","_id":"@phc/argon2@1.0.3","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"dist":{"integrity":"sha512-UI74jZxLX257U6OI8nlp6wKM6KxqUwRuQqxElRARcpaIGTFxTLQfO6fIqQLemeT0kksh80BvzU4u7kiquUBp2A==","shasum":"18e03fd1f63b6f551cb402528a490aaf1827c11c","tarball":"https://registry.npmjs.org/@phc/argon2/-/argon2-1.0.3.tgz","fileCount":4,"unpackedSize":30140,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDFQ2tgfC4ZPotF/U7OyXVVD90eVEYfLJAcmJ16fpwsnAiB6tv/WqzFEnKzAEQlzvBlREmK7mV/aWS71nPIARz9smg=="}]},"maintainers":[{"name":"simonepri","email":"simonepri@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/argon2_1.0.3_1522615373818_0.1310536298357794"},"_hasShrinkwrap":false},"1.0.4":{"version":"1.0.4","name":"@phc/argon2","description":"Node.JS Argon2 password hashing algorithm following the PHC string format","license":"MIT","homepage":"https://github.com/simonepri/phc-argon2#readme","repository":{"type":"git","url":"git+https://github.com/simonepri/phc-argon2.git"},"bugs":{"url":"https://github.com/simonepri/phc-argon2/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"}],"keywords":["brute","brute force","credential","credential-plus","crypto","hash","function","hashing","password","password-argon2","passwords","pbkdf","argon2","argon2-password","psswrd","pswd","rainbow","safe","safe","salt","secure","security","stretching","strong","timining","attack","verification","verify"],"main":"index.js","files":["index.js"],"engines":{"node":">=6"},"scripts":{"bench":"node bench.js","test":"xo &&nyc ava","release":"np","update":"npm-check -u"},"publishConfig":{"access":"public"},"dependencies":{"@phc/format":"^0.3.4","argon2":"^0.17.3"},"devDependencies":{"ava":"*","execa":"^0.10.0","np":"*","npm-check":"*","nyc":"*","sympact":"*","xo":"*"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true},"gitHead":"a404369ef767111c6c22dd3ca601106e1a6e808d","_id":"@phc/argon2@1.0.4","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"dist":{"integrity":"sha512-Syj+x6CvcxbE1rkHUg/AVPn8ifDrXIW4ImcV2iUrpIvCRE9HdeXivz7wj5AuVRe7hvNbBE5lvtEf9GSFJLMN8Q==","shasum":"7838ba7bc3ec07958d47c5b96e8967c47577b3a1","tarball":"https://registry.npmjs.org/@phc/argon2/-/argon2-1.0.4.tgz","fileCount":4,"unpackedSize":31083,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmdzJoE1xe33MvGRLFbT4hjm2GLsYT/nyEp4rTIL6thQIhALlY4fBmhhsO/xaXrosunjVXoqBje9wWrUi0dicr8BhD"}]},"maintainers":[{"name":"simonepri","email":"simonepri@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/argon2_1.0.4_1522661482760_0.9722760026907808"},"_hasShrinkwrap":false},"1.0.5":{"version":"1.0.5","name":"@phc/argon2","description":"Node.JS Argon2 password hashing algorithm following the PHC string format","license":"MIT","homepage":"https://github.com/simonepri/phc-argon2#readme","repository":{"type":"git","url":"git+https://github.com/simonepri/phc-argon2.git"},"bugs":{"url":"https://github.com/simonepri/phc-argon2/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"}],"keywords":["brute","brute force","credential","credential-plus","crypto","hash","function","hashing","password","password-argon2","passwords","pbkdf","argon2","argon2-password","psswrd","pswd","rainbow","safe","safe","salt","secure","security","stretching","strong","timining","attack","verification","verify"],"main":"index.js","files":["index.js"],"engines":{"node":">=6"},"scripts":{"bench":"node bench.js","test":"xo &&nyc ava","release":"np","update":"npm-check -u"},"publishConfig":{"access":"public"},"dependencies":{"@phc/format":"^0.4.0","argon2":"^0.17.3","tsse":"^1.1.4"},"devDependencies":{"ava":"*","execa":"^0.10.0","np":"*","npm-check":"*","nyc":"*","sympact":"*","xo":"*"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true},"gitHead":"302b74e0b89d712086574796b1d56f146bfe5123","_id":"@phc/argon2@1.0.5","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"dist":{"integrity":"sha512-23eSwP0NcCGRV/QcjJ790FiOk3Oj3ON32VB6QRrEqvGX8rCjn3FtohUt6M05F7wfm/vvKAx8HwGVJCt6cy+T2w==","shasum":"83dce4f3bd4048f30e8c10caf111fa1965572a7d","tarball":"https://registry.npmjs.org/@phc/argon2/-/argon2-1.0.5.tgz","fileCount":4,"unpackedSize":32673,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsypTGsIrzDoMkkRXNz1d8O1YLrJ7PKq6rDdHaFHAfewIgSAYTzVZE98kwNTaHEhnu/JA062eU1UhetRVuQZI/Di8="}]},"maintainers":[{"name":"simonepri","email":"simonepri@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/argon2_1.0.5_1522696191914_0.4610266156506848"},"_hasShrinkwrap":false},"1.0.6":{"version":"1.0.6","name":"@phc/argon2","description":"Node.JS Argon2 password hashing algorithm following the PHC string format","license":"MIT","homepage":"https://github.com/simonepri/phc-argon2#readme","repository":{"type":"git","url":"git+https://github.com/simonepri/phc-argon2.git"},"bugs":{"url":"https://github.com/simonepri/phc-argon2/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"}],"keywords":["brute","brute force","credential","credential-plus","crypto","hash","function","hashing","password","password-argon2","passwords","pbkdf","argon2","argon2-password","psswrd","pswd","rainbow","safe","safe","salt","secure","security","stretching","strong","timining","attack","verification","verify"],"main":"index.js","files":["index.js"],"engines":{"node":">=6"},"scripts":{"bench":"node bench.js","test":"xo &&nyc ava","release":"np","update":"npm-check -u"},"publishConfig":{"access":"public"},"dependencies":{"@kdf/salt":"^1.0.1","@phc/format":"^0.4.2","argon2":"^0.19.3","tsse":"^1.1.4"},"devDependencies":{"ava":"*","execa":"^0.10.0","np":"*","npm-check":"*","nyc":"*","sympact":"*","xo":"*"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true},"gitHead":"695e86ce0ce57a826eac74b486ac2a3a21e2f6af","_id":"@phc/argon2@1.0.6","_shasum":"1fcfc4f4d3c26e18c3f3e4a74a872ef4bcf3ae49","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.1","_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"dist":{"shasum":"1fcfc4f4d3c26e18c3f3e4a74a872ef4bcf3ae49","tarball":"https://registry.npmjs.org/@phc/argon2/-/argon2-1.0.6.tgz","fileCount":4,"unpackedSize":31647,"integrity":"sha512-4LMB28IS8zP2XcsWPNJ0a0urNpb+b1HK0bI1ywFGO7sh+tiALLmov3KwAcito5h2tIU9UGbIYaHf6xnClNO+Xg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDRMt3wGwPwKe5LqTYi1HALoB6HGb0Va/GJ3x+tPIziKAiEA3E0DOAVIEYihXs/7ruXYemkw/FdWvbUzn5uCRiw2Q1U="}]},"maintainers":[{"name":"simonepri","email":"simonepri@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/argon2_1.0.6_1531431606271_0.645496457752951"},"_hasShrinkwrap":false},"1.0.7":{"version":"1.0.7","name":"@phc/argon2","description":"Node.JS Argon2 password hashing algorithm following the PHC string format","license":"MIT","homepage":"https://github.com/simonepri/phc-argon2#readme","repository":{"type":"git","url":"git+https://github.com/simonepri/phc-argon2.git"},"bugs":{"url":"https://github.com/simonepri/phc-argon2/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"}],"keywords":["brute","brute force","credential","credential-plus","crypto","hash","function","hashing","password","password-argon2","passwords","pbkdf","argon2","argon2-password","psswrd","pswd","rainbow","safe","safe","salt","secure","security","stretching","strong","timining","attack","verification","verify"],"main":"index.js","files":["index.js"],"engines":{"node":">=6"},"scripts":{"bench":"node bench.js","test":"xo &&nyc ava","release":"np","update":"npm-check -u"},"publishConfig":{"access":"public"},"dependencies":{"@kdf/salt":"^1.0.1","@phc/format":"^0.4.2","argon2":"^0.19.3","tsse":"^1.1.4"},"devDependencies":{"ava":"*","execa":"^0.10.0","np":"*","npm-check":"*","nyc":"*","sympact":"*","xo":"*"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true},"gitHead":"bfeba559d97909d349bde8d8494cb497565756b1","_id":"@phc/argon2@1.0.7","_shasum":"dd202bc19958d1ff69fd2eeaeef2c17c2e69e689","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.1","_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"dist":{"shasum":"dd202bc19958d1ff69fd2eeaeef2c17c2e69e689","tarball":"https://registry.npmjs.org/@phc/argon2/-/argon2-1.0.7.tgz","fileCount":4,"unpackedSize":31651,"integrity":"sha512-jMy1jfwxx9LZWGEb3f9/nuI7vxlXC09qVmZX9yxh3h++mvSLXc8rlMZqVbsbtdwNhHtoc6CKJHMIpBA5QpD9Mg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDT6mjbxQnPP0GyHGTHojX9rGKMD/Bx0czmGRm9wC1OeQIhAI1P1SYJe4x9fM3z2rdCS/2ppWPCF8krHbxdV0uc6qRC"}]},"maintainers":[{"name":"simonepri","email":"simonepri@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/argon2_1.0.7_1531432321949_0.8065818665677402"},"_hasShrinkwrap":false},"1.0.8":{"version":"1.0.8","name":"@phc/argon2","description":"Node.JS Argon2 password hashing algorithm following the PHC string format","license":"MIT","homepage":"https://github.com/simonepri/phc-argon2#readme","repository":{"type":"git","url":"git+https://github.com/simonepri/phc-argon2.git"},"bugs":{"url":"https://github.com/simonepri/phc-argon2/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"}],"keywords":["brute","brute force","credential","credential-plus","crypto","hash","function","hashing","password","password-argon2","passwords","pbkdf","argon2","argon2-password","psswrd","pswd","rainbow","safe","safe","salt","secure","security","stretching","strong","timining","attack","verification","verify"],"main":"index.js","files":["index.js"],"engines":{"node":">=6"},"scripts":{"bench":"node bench.js","test":"xo &&nyc ava","release":"np","update":"npm-check -u"},"publishConfig":{"access":"public"},"dependencies":{"@kdf/salt":"^1.0.1","@phc/format":"^0.4.2","argon2":"^0.19.3","tsse":"^1.1.4"},"devDependencies":{"ava":"*","execa":"^0.10.0","np":"*","npm-check":"*","nyc":"*","sympact":"*","xo":"*"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true},"gitHead":"f564b6406884099dfaf0ab94564c9c8d31093101","_id":"@phc/argon2@1.0.8","_npmVersion":"6.2.0","_nodeVersion":"8.11.1","_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"dist":{"integrity":"sha512-RQCna2GSx2QHUb2e/JrHXBjGdddHlY/R1FbacF8SpPyCLR1d9X+75KanQS+KaYHel2VAIj/eeeYCAbPhTLLALw==","shasum":"ab7409907582accf88e4b851e0ec8a2c371a443d","tarball":"https://registry.npmjs.org/@phc/argon2/-/argon2-1.0.8.tgz","fileCount":4,"unpackedSize":31631,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbS7pnCRA9TVsSAnZWagAAHJIP+wZgDuq0nZOmdpZcyUqO\nxiyfc6dMg7tW/8wpJMylCxQrL9L/15M5nEzb2csiQFBEFGNLuIXVBUI/3ByO\nLsp5pjo7hWQ029BiXWMfQzEaFmg60mQ2qWs5OVQ3QObNuiAmrSXxLq2hyozj\nAWEzC2AVGCa0CTHdnZJR0D8M5hScdzpZQJ+CTwp09pOfcPMAenO2kNsm4TNo\nhaJOP4xNJpszEMjlsKxgTIu7z8/fmrr5DIHsrO1Cp07svr9xpH8cmxbGXD4Y\nQ68z9odROJyka6iU+L2OJIc4cAhW18XOL3CEhsOMkIPwn1RqDCW1PxdyEdz9\n+75fo/S/YHL8oYJGclbdgaDB64eaDJJQ7mzcG4C9Vy/hlPtSI8u5Ajq8YAwV\nXFHqFMexCTF7rp00Oq4//Wr5H9MDYURROuZrtj5Ycmyp+UwI16tPwibXXr1C\nHjmpNi8hr/fFG/641XmmSKtzCtIRkwHS6g9rXL1k1xb4eOlw3nV6vtp3OfCY\n2HJVJxaDS/smB6n0gsBpaWS6ZZvDqTzT1StpnkYuewZ7iRAq9tt/sLIyBA3o\nY7uVDm0uDjv56QxDwxnxOoKehcmQh4dqbZXM8NtM17WPBRqnxOAa51uSif1V\n+Fpt7ROC8yvR8vKfKWiCBTOUyko9I6WJvF07owRPXhN5nm9cBUT82EDP+frh\nzKuN\r\n=IhNV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHAZ1bfT/jrkJVAoQZYE5In/8qOjDaDwyw1DKbXTcP0wIhAIyIarcTpBMt6sB4/owSh3doIHt+yiASL9u2ejGyXYJO"}]},"maintainers":[{"name":"simonepri","email":"simonepri@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/argon2_1.0.8_1531689575821_0.6458877195171147"},"_hasShrinkwrap":false},"1.0.9":{"version":"1.0.9","name":"@phc/argon2","description":"Node.JS Argon2 password hashing algorithm following the PHC string format","license":"MIT","homepage":"https://github.com/simonepri/phc-argon2#readme","repository":{"type":"git","url":"git+https://github.com/simonepri/phc-argon2.git"},"bugs":{"url":"https://github.com/simonepri/phc-argon2/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"}],"keywords":["brute","brute force","credential","credential-plus","crypto","hash","function","hashing","password","password-argon2","passwords","pbkdf","argon2","argon2-password","psswrd","pswd","rainbow","safe","safe","salt","secure","security","stretching","strong","timining","attack","verification","verify"],"main":"index.js","files":["index.js"],"engines":{"node":">=6"},"scripts":{"bench":"node bench.js","test":"xo &&nyc ava","release":"np","update":"npm-check -u"},"publishConfig":{"access":"public"},"dependencies":{"@kdf/salt":"^1.0.1","@phc/format":"^0.5.0","argon2":"^0.19.3","tsse":"^1.1.4"},"devDependencies":{"ava":"*","execa":"^0.10.0","np":"*","npm-check":"*","nyc":"*","sympact":"*","xo":"*"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true},"gitHead":"339c8f93406b077ee7455b569d5573eb965003b0","_id":"@phc/argon2@1.0.9","_npmVersion":"6.2.0","_nodeVersion":"8.11.1","_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"dist":{"integrity":"sha512-9GZ1T4f6WYO9PZZ9flZ6XFaLfEfPTcky1xDaF0BLMknw8PhpQnR1Xc1rU+cP2LtyijmRX1BtW5BiJn3FRkBzQA==","shasum":"a0ba13f7b6fe72ef69f396b8ab1a5893f8e133e6","tarball":"https://registry.npmjs.org/@phc/argon2/-/argon2-1.0.9.tgz","fileCount":4,"unpackedSize":31631,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTI/MCRA9TVsSAnZWagAA6g8P/3udtZ6O039WXz+ZhPIs\nalxcH/FPXsHRvIk5yJ42ceWXhDO9VcBk0/y4XeMAihs3UU2tL/oM5P/fVmVG\nxQw1xHD9D3TpAsHqgQ2xwP0Zu+ttAN8GBB8mdHfn1HL47tEj0UEVvnJA37Ay\nojDRPu7kmCeMWSeCf7fJ1ogW955FkdbWKexRoj1a5XBYmuXFevC4gkeaMrar\nBRVuqdZ3rtCirp3CI2PmaCEYIQuiudfgDQWNfkjI6cL9gs/4eZfYhZj+Cbre\nsEs8+dGtY44L+grZcJKEj6V2dJraSgvYUaRuX2sAGhPWcHRhhSZGnX2vbN+4\nE56Dg9iKEBB2R/w7gmMxPIRqlk87fzxEWoeU6u+6pSxPlkzoqxLVQYaO9wOu\ny/apEUcLR/DipsHdpqTUQEVxERUoQSyKPTm8CazRpw6x7XKAI3FksUSJkUm/\n5cvJGoSBrk9mwahP2lRuukETPhdi+PCXdXX7W6XBxNLOG1tHYpXdags55BsT\nVw8+XtnKBr1C7nnUUmEmmp7BZ7HemAQMI3SnsejL8wocBaQ7wnMTY62Z6mYd\ndlxQYS6k/O/tYx3PLTvvSTABkLha/5wKEYgGr2zSr6iL2yirpg89EU1vmXjU\nv0gtODyNfL/AzXmVpqTpIIqogmGu9eLXNaqOT3sVgylJ5XgWC9XkW694Wu8o\nG9rj\r\n=LisC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7B5AZDnOdX4tw8/0CMNF2KCM3akqQhR2Z1ksgungplwIgPJv1EDjZBpSNc3fIkGprEPPNFsyB76MR+BE2lg9ffWE="}]},"maintainers":[{"name":"simonepri","email":"simonepri@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/argon2_1.0.9_1531744204366_0.6576279555727738"},"_hasShrinkwrap":false}},"time":{"created":"2018-03-30T15:59:50.899Z","1.0.0":"2018-03-30T15:59:51.000Z","modified":"2022-06-12T22:35:38.063Z","1.0.1":"2018-03-30T17:26:23.736Z","1.0.2":"2018-04-01T09:01:49.193Z","1.0.3":"2018-04-01T20:42:53.905Z","1.0.4":"2018-04-02T09:31:22.873Z","1.0.5":"2018-04-02T19:09:52.016Z","1.0.6":"2018-07-12T21:40:06.361Z","1.0.7":"2018-07-12T21:52:02.031Z","1.0.8":"2018-07-15T21:19:35.962Z","1.0.9":"2018-07-16T12:30:04.485Z"},"maintainers":[{"name":"simonepri","email":"simonepri@outlook.com"}],"description":"Node.JS Argon2 password hashing algorithm following the PHC string format","homepage":"https://github.com/simonepri/phc-argon2#readme","keywords":["brute","brute force","credential","credential-plus","crypto","hash","function","hashing","password","password-argon2","passwords","pbkdf","argon2","argon2-password","psswrd","pswd","rainbow","safe","safe","salt","secure","security","stretching","strong","timining","attack","verification","verify"],"repository":{"type":"git","url":"git+https://github.com/simonepri/phc-argon2.git"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"}],"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://simoneprimarosa.com"},"bugs":{"url":"https://github.com/simonepri/phc-argon2/issues","email":"simonepri@outlook.com"},"license":"MIT","readme":"<h1 align=\"center\">\n  <b>phc-argon2</b>\n</h1>\n<p align=\"center\">\n  <!-- CI - TravisCI -->\n  <a href=\"https://travis-ci.com/simonepri/phc-argon2\">\n    <img src=\"https://img.shields.io/travis/com/simonepri/phc-argon2/master.svg?label=MacOS%20%26%20Linux\" alt=\"Mac/Linux Build Status\" />\n  </a>\n  <!-- CI - AppVeyor -->\n  <a href=\"https://ci.appveyor.com/project/simonepri/phc-argon2\">\n    <img src=\"https://img.shields.io/appveyor/ci/simonepri/phc-argon2/master.svg?label=Windows\" alt=\"Windows Build status\" />\n  </a>\n  <!-- Coverage - Codecov -->\n  <a href=\"https://codecov.io/gh/simonepri/phc-argon2\">\n    <img src=\"https://img.shields.io/codecov/c/github/simonepri/phc-argon2/master.svg\" alt=\"Codecov Coverage report\" />\n  </a>\n  <!-- DM - Snyk -->\n  <a href=\"https://snyk.io/test/github/simonepri/phc-argon2?targetFile=package.json\">\n    <img src=\"https://snyk.io/test/github/simonepri/phc-argon2/badge.svg?targetFile=package.json\" alt=\"Known Vulnerabilities\" />\n  </a>\n  <!-- DM - David -->\n  <a href=\"https://david-dm.org/simonepri/phc-argon2\">\n    <img src=\"https://david-dm.org/simonepri/phc-argon2/status.svg\" alt=\"Dependency Status\" />\n  </a>\n\n  <br/>\n\n  <!-- Code Style - XO-Prettier -->\n  <a href=\"https://github.com/xojs/xo\">\n    <img src=\"https://img.shields.io/badge/code_style-XO+Prettier-5ed9c7.svg\" alt=\"XO Code Style used\" />\n  </a>\n  <!-- Test Runner - AVA -->\n  <a href=\"https://github.com/avajs/ava\">\n    <img src=\"https://img.shields.io/badge/test_runner-AVA-fb3170.svg\" alt=\"AVA Test Runner used\" />\n  </a>\n  <!-- Test Coverage - Istanbul -->\n  <a href=\"https://github.com/istanbuljs/nyc\">\n    <img src=\"https://img.shields.io/badge/test_coverage-NYC-fec606.svg\" alt=\"Istanbul Test Coverage used\" />\n  </a>\n  <!-- Init - ni -->\n  <a href=\"https://github.com/simonepri/ni\">\n    <img src=\"https://img.shields.io/badge/initialized_with-ni-e74c3c.svg\" alt=\"NI Scaffolding System used\" />\n  </a>\n  <!-- Release - np -->\n  <a href=\"https://github.com/sindresorhus/np\">\n    <img src=\"https://img.shields.io/badge/released_with-np-6c8784.svg\" alt=\"NP Release System used\" />\n  </a>\n\n  <br/>\n\n  <!-- Version - npm -->\n  <a href=\"https://www.npmjs.com/package/@phc/argon2\">\n    <img src=\"https://img.shields.io/npm/v/@phc/argon2.svg\" alt=\"Latest version on npm\" />\n  </a>\n  <!-- License - MIT -->\n  <a href=\"https://github.com/simonepri/phc-argon2/tree/master/license\">\n    <img src=\"https://img.shields.io/github/license/simonepri/phc-argon2.svg\" alt=\"Project license\" />\n  </a>\n</p>\n<p align=\"center\">\n  🔒 Node.JS Argon2 password hashing algorithm following the PHC string format.\n  <br/>\n\n  <sub>\n    Coded with ❤️ by <a href=\"#authors\">Simone Primarosa</a>.\n  </sub>\n</p>\n\n## PHC String Format\n\nThe [PHC String Format][specs:phc] is an attempt to specify a common hash string format that’s a restricted & well defined subset of the Modular Crypt Format. New hashes are strongly encouraged to adhere to the PHC specification, rather than the much looser [Modular Crypt Format][specs:mcf].\n\nThe hash strings generated by this package are in the following format:\n\n```c\n$argon2<variant>$v=<version>$m=<memory>,t=<iterations>,p=<parallelism>$<salt>$<hash>\n```\n\nWhere:\n\n| Field | Type | Description\n| --- | --- | --- |\n| `<variant>` | <code>string</code> | The [variant][specs:a2var] of the algorithm used to derive a key of the input password. |\n| `<version>` | <code>number</code> | The version of the argon2 algorithm used. |\n| `<memory>` | <code>number</code> | The amount of memory to consume in kibibytes. |\n| `<iterations>` | <code>number</code> | The number of iterations desired. The higher the number of iterations, the more secure the derived key will be, but will take a longer amount of time to complete. |\n| `<parallelism>` | <code>number</code> | The degree of parallelism to use while computing the hash. |\n| `<salt>` | <code>string</code> | A sequence of bits, known as a [cryptographic salt][specs:salt] encoded in [B64][specs:B64]. |\n| `<hash>` | <code>string</code> | The computed derived key by the [argon2][specs:Argon2] algorithm encoded in [B64][specs:B64]. |\n\nFor more details consult the Argon2 paper [here][paper].\n\n## Install\n\n```bash\nnpm install --save @phc/argon2\n```\n\n## Usage\n\n```js\nconst argon2 = require('@phc/argon2');\n\n// Hash and verify with argon2 and default configs\nconst hash = await argon2.hash('password');\n// => $argon2id$v=19$m=4096,t=3,p=1$PcEZHj1maR/+ZQynyJHWZg$2jEN4xcww7CYp1jakZB1rxbYsZ55XH2HgjYRtdZtubI\n\nconst match = await argon2.verify(hash, 'password');\n// => true\n\nconst match = await argon2.verify(hash, 'wrong');\n// => false\n\nconst ids = argon2.identifiers();\n// => ['argon2d', 'argon2i', 'argon2id']\n```\n\n## Benchmarks\n\nBelow you can find usage statistics of this hashing algorithm with different\noptions.  \nThis should help you understand how the different options affects the running\ntime and memory usage of the algorithm.\n\nUsage reports are generated thanks to [sympact][gh:sympact].\n\n<details>\n<summary><strong>System Report</strong> ↴</summary>\n\n```\nDistro    Release  Platform  Arch\n--------  -------  --------  ----\nMac OS X  10.12.6  darwin    x64\n\nCPU     Brand           Clock     Cores\n------  --------------  --------  -----\nIntel®  Core™ i5-6360U  2.00 GHz  4    \n\nMemory                  Type    Size         Clock   \n----------------------  ------  -----------  --------\nMicron Technology Inc.  LPDDR3  4294.967 MB  1867 MHz\nMicron Technology Inc.  LPDDR3  4294.967 MB  1867 MHz\n```\n\n</details>\n\n<details>\n<summary><strong>Default options</strong> - <i>{iterations:3, memory:4096, parallelism:1, variant:'id'}</i> ↴</summary>\n\n```\nCPU Usage (avarage ± σ)  CPU Usage Range (min … max)\n-----------------------  ---------------------------\n0.50 % ± 0.00 %          0.50 % … 0.50 %            \n\nRAM Usage (avarage ± σ)  RAM Usage Range (min … max)\n-----------------------  ---------------------------\n23.927 MB ± 2.775 MB     21.152 MB … 26.702 MB      \n\nExecution time  Sampling time  Samples  \n--------------  -------------  ---------\n0.020 s         0.069 s        2 samples\n\nInstant  CPU Usage  RAM Usage  PIDS\n-------  ---------  ---------  ----\n0.028 s  0.50 %     21.152 MB  4934\n0.069 s  0.50 %     26.702 MB  4934\n```\n\n</details>\n\n<details>\n<summary><strong>5 iterations</strong> - <i>{iterations:5, memory:4096, parallelism:1, variant:'id'}</i> ↴</summary>\n\n```\nCPU Usage (avarage ± σ)  CPU Usage Range (min … max)\n-----------------------  ---------------------------\n0.60 % ± 0.00 %          0.60 % … 0.60 %            \n\nRAM Usage (avarage ± σ)  RAM Usage Range (min … max)\n-----------------------  ---------------------------\n24.906 MB ± 2.591 MB     21.242 MB … 26.739 MB      \n\nExecution time  Sampling time  Samples  \n--------------  -------------  ---------\n0.025 s         0.077 s        3 samples\n\nInstant  CPU Usage  RAM Usage  PIDS\n-------  ---------  ---------  ----\n0.025 s  0.60 %     21.242 MB  4945\n0.076 s  0.60 %     26.739 MB  4945\n0.077 s  0.60 %     26.739 MB  4945\n```\n\n</details>\n\n<details>\n<summary><strong>10 iterations</strong> - <i>{iterations:10, memory:4096, parallelism:1, variant:'id'}</i> ↴</summary>\n\n```\nCPU Usage (avarage ± σ)  CPU Usage Range (min … max)\n-----------------------  ---------------------------\n0.40 % ± 0.00 %          0.40 % … 0.40 %            \n\nRAM Usage (avarage ± σ)  RAM Usage Range (min … max)\n-----------------------  ---------------------------\n24.999 MB ± 2.576 MB     21.357 MB … 26.821 MB      \n\nExecution time  Sampling time  Samples  \n--------------  -------------  ---------\n0.054 s         0.112 s        3 samples\n\nInstant  CPU Usage  RAM Usage  PIDS\n-------  ---------  ---------  ----\n0.033 s  0.40 %     21.357 MB  4958\n0.094 s  0.40 %     26.821 MB  4958\n0.112 s  0.40 %     26.821 MB  4958\n```\n\n</details>\n\n<details>\n<summary><strong>25 iterations</strong> - <i>{iterations:25, memory:4096, parallelism:1, variant:'id'}</i> ↴</summary>\n\n```\nCPU Usage (avarage ± σ)  CPU Usage Range (min … max)\n-----------------------  ---------------------------\n6.78 % ± 10.70 %         0.60 % … 25.30 %           \n\nRAM Usage (avarage ± σ)  RAM Usage Range (min … max)\n-----------------------  ---------------------------\n25.440 MB ± 2.365 MB     21.344 MB … 26.817 MB      \n\nExecution time  Sampling time  Samples  \n--------------  -------------  ---------\n0.082 s         0.129 s        4 samples\n\nInstant  CPU Usage  RAM Usage  PIDS\n-------  ---------  ---------  ----\n0.026 s  0.60 %     21.344 MB  4971\n0.077 s  0.60 %     26.800 MB  4971\n0.109 s  0.60 %     26.800 MB  4971\n0.129 s  25.30 %    26.817 MB  4971\n```\n\n</details>\n\n<details>\n<summary><strong>50 iterations</strong> - <i>{iterations:50, memory:4096, parallelism:1, variant:'id'}</i> ↴</summary>\n\n```\nCPU Usage (avarage ± σ)  CPU Usage Range (min … max)\n-----------------------  ---------------------------\n12.24 % ± 7.36 %         0.60 % … 16.90 %           \n\nRAM Usage (avarage ± σ)  RAM Usage Range (min … max)\n-----------------------  ---------------------------\n26.076 MB ± 1.907 MB     21.406 MB … 26.866 MB      \n\nExecution time  Sampling time  Samples  \n--------------  -------------  ---------\n0.158 s         0.207 s        7 samples\n\nInstant  CPU Usage  RAM Usage  PIDS\n-------  ---------  ---------  ----\n0.026 s  0.60 %     21.406 MB  4986\n0.077 s  0.60 %     26.849 MB  4986\n0.107 s  16.90 %    26.849 MB  4986\n0.145 s  16.90 %    26.849 MB  4986\n0.167 s  16.90 %    26.849 MB  4986\n0.196 s  16.90 %    26.866 MB  4986\n0.207 s  16.90 %    26.866 MB  4986\n```\n\n</details>\n\n<details>\n<summary><strong>100 iterations</strong> - <i>{iterations:100, memory:4096, parallelism:1, variant:'id'}</i> ↴</summary>\n\n```\nCPU Usage (avarage ± σ)  CPU Usage Range (min … max)\n-----------------------  ---------------------------\n37.25 % ± 22.39 %        1.10 % … 59.20 %           \n\nRAM Usage (avarage ± σ)  RAM Usage Range (min … max)\n-----------------------  ---------------------------\n26.418 MB ± 1.453 MB     21.385 MB … 26.849 MB      \n\nExecution time  Sampling time  Samples   \n--------------  -------------  ----------\n0.408 s         0.479 s        13 samples\n\nInstant  CPU Usage  RAM Usage  PIDS\n-------  ---------  ---------  ----\n0.026 s  1.10 %     21.385 MB  5007\n0.076 s  1.10 %     26.833 MB  5007\n0.106 s  1.10 %     26.833 MB  5007\n0.153 s  30.70 %    26.833 MB  5007\n0.170 s  30.70 %    26.833 MB  5007\n0.201 s  30.70 %    26.833 MB  5007\n0.301 s  50.70 %    26.833 MB  5007\n0.330 s  50.70 %    26.833 MB  5007\n0.366 s  50.70 %    26.833 MB  5007\n0.403 s  59.20 %    26.833 MB  5007\n0.453 s  59.20 %    26.849 MB  5007\n0.478 s  59.20 %    26.849 MB  5007\n0.479 s  59.20 %    26.849 MB  5007\n```\n\n</details>\n\n<details>\n<summary><strong>16˙384 KiB of memory</strong> - <i>{iterations:3, memory:16384, parallelism:1, variant:'id'}</i> ↴</summary>\n\n```\nCPU Usage (avarage ± σ)  CPU Usage Range (min … max)\n-----------------------  ---------------------------\n5.58 % ± 2.81 %          0.70 % … 7.20 %            \n\nRAM Usage (avarage ± σ)  RAM Usage Range (min … max)\n-----------------------  ---------------------------\n34.916 MB ± 7.812 MB     21.385 MB … 39.432 MB      \n\nExecution time  Sampling time  Samples  \n--------------  -------------  ---------\n0.071 s         0.13 s         4 samples\n\nInstant  CPU Usage  RAM Usage  PIDS\n-------  ---------  ---------  ----\n0.033 s  0.70 %     21.385 MB  5040\n0.083 s  7.20 %     39.416 MB  5040\n0.116 s  7.20 %     39.432 MB  5040\n0.130 s  7.20 %     39.432 MB  5040\n```\n\n</details>\n\n<details>\n<summary><strong>65˙536 KiB of memory</strong> - <i>{iterations:3, memory:65536, parallelism:1, variant:'id'}</i> ↴</summary>\n\n```\nCPU Usage (avarage ± σ)  CPU Usage Range (min … max)\n-----------------------  ---------------------------\n21.92 % ± 17.48 %        0.60 % … 49.30 %           \n\nRAM Usage (avarage ± σ)  RAM Usage Range (min … max)\n-----------------------  ---------------------------\n75.683 MB ± 23.350 MB    20.980 MB … 89.358 MB      \n\nExecution time  Sampling time  Samples  \n--------------  -------------  ---------\n0.205 s         0.258 s        8 samples\n\nInstant  CPU Usage  RAM Usage  PIDS\n-------  ---------  ---------  ----\n0.025 s  0.60 %     20.980 MB  5055\n0.075 s  0.60 %     55.775 MB  5055\n0.106 s  18.90 %    81.981 MB  5055\n0.143 s  18.90 %    89.342 MB  5055\n0.164 s  18.90 %    89.342 MB  5055\n0.194 s  18.90 %    89.342 MB  5055\n0.225 s  49.30 %    89.342 MB  5055\n0.258 s  49.30 %    89.358 MB  5055\n```\n\n</details>\n\n<details>\n<summary><strong>262˙144 KiB of memory</strong> - <i>{iterations:3, memory:262144, parallelism:1, variant:'id'}</i> ↴</summary>\n\n```\nCPU Usage (avarage ± σ)  CPU Usage Range (min … max)\n-----------------------  ---------------------------\n64.37 % ± 28.91 %        0.60 % … 93.90 %           \n\nRAM Usage (avarage ± σ)  RAM Usage Range (min … max)\n-----------------------  ---------------------------\n216.095 MB ± 96.874 MB   21.332 MB … 291.025 MB     \n\nExecution time  Sampling time  Samples   \n--------------  -------------  ----------\n0.885 s         0.933 s        31 samples\n\nInstant  CPU Usage  RAM Usage   PIDS\n-------  ---------  ----------  ----\n0.026 s  0.60 %     21.332 MB   5078\n0.074 s  0.60 %     51.356 MB   5078\n0.106 s  19.40 %    77.545 MB   5078\n0.136 s  19.40 %    99.344 MB   5078\n0.167 s  19.40 %    121.168 MB  5078\n0.192 s  19.40 %    140.993 MB  5078\n0.225 s  47.90 %    165.065 MB  5078\n0.260 s  47.90 %    188.371 MB  5078\n0.286 s  47.90 %    205.804 MB  5078\n0.315 s  47.90 %    229.233 MB  5078\n0.343 s  66.20 %    252.084 MB  5078\n0.404 s  66.20 %    288.231 MB  5078\n0.422 s  66.20 %    291.025 MB  5078\n0.439 s  66.20 %    291.025 MB  5078\n0.468 s  77.00 %    291.025 MB  5078\n0.498 s  77.00 %    291.025 MB  5078\n0.528 s  77.00 %    291.025 MB  5078\n0.554 s  77.00 %    291.025 MB  5078\n0.586 s  77.00 %    291.025 MB  5078\n0.619 s  85.10 %    291.025 MB  5078\n0.649 s  85.10 %    291.025 MB  5078\n0.672 s  85.10 %    291.025 MB  5078\n0.703 s  85.10 %    291.025 MB  5078\n0.735 s  89.80 %    291.025 MB  5078\n0.765 s  89.80 %    291.025 MB  5078\n0.792 s  89.80 %    291.025 MB  5078\n0.823 s  89.80 %    291.025 MB  5078\n0.854 s  93.90 %    291.025 MB  5078\n0.896 s  93.90 %    156.807 MB  5078\n0.918 s  93.90 %    22.606 MB   5078\n0.933 s  93.90 %    22.606 MB   5078\n```\n\n</details>\n\n<!--\n## Test vectors\n\nThe [scrypt paper][paper:test] lists four test vectors to test implementation.  \nThis package implements them [here][tvec].\n-->\n\n## API\n\n#### TOC\n\n<dl>\n<dt><a href=\"#hash\">hash(password, [options])</a> ⇒ <code>Promise.&lt;string&gt;</code></dt>\n<dd><p>Computes the hash string of the given password in the PHC format using argon2\npackage.</p>\n</dd>\n<dt><a href=\"#verify\">verify(phcstr, password)</a> ⇒ <code>Promise.&lt;boolean&gt;</code></dt>\n<dd><p>Determines whether or not the hash stored inside the PHC formatted string\nmatches the hash generated for the password provided.</p>\n</dd>\n<dt><a href=\"#identifiers\">identifiers()</a> ⇒ <code>Array.&lt;string&gt;</code></dt>\n<dd><p>Gets the list of all identifiers supported by this hashing function.</p>\n</dd>\n</dl>\n\n<a name=\"hash\"></a>\n\n### hash(password, [options]) ⇒ <code>Promise.&lt;string&gt;</code>\nComputes the hash string of the given password in the PHC format using argon2\npackage.\n\n**Kind**: global function  \n**Returns**: <code>Promise.&lt;string&gt;</code> - The generated secure hash string in the PHC\nformat.  \n**Access**: public  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| password | <code>string</code> |  | The password to hash. |\n| [options] | <code>Object</code> |  | Optional configurations related to the hashing function. |\n| [options.variant] | <code>number</code> | <code>id</code> | Optinal variant of argon2 to use. Can be one of [`'d'`, `'i'`, `'id'`] for argon2d, argon2i and argon2id respectively. |\n| [options.iterations] | <code>number</code> | <code>3</code> | Optional number of iterations to use. Must be an integer within the range (`1` <= `iterations` <= `2^32-1`). |\n| [options.memory] | <code>number</code> | <code>4096</code> | Optional amount of memory to use in kibibytes. Must be an integer within the range (`8` <= `memory` <= `2^32-1`). |\n| [options.parallelism] | <code>number</code> | <code>1</code> | Optional degree of parallelism to use. Must be an integer within the range (`1` <= `parallelism` <= `2^24-1`). |\n| [options.saltSize] | <code>number</code> | <code>16</code> | Optional number of bytes to use when autogenerating new salts. Must be an integer within the range (`1` <= `saltSize` <= `2^10-1`). |\n\n<a name=\"verify\"></a>\n\n### verify(phcstr, password) ⇒ <code>Promise.&lt;boolean&gt;</code>\nDetermines whether or not the hash stored inside the PHC formatted string\nmatches the hash generated for the password provided.\n\n**Kind**: global function  \n**Returns**: <code>Promise.&lt;boolean&gt;</code> - A boolean that is true if the hash computed\nfor the password matches.  \n**Access**: public  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| phcstr | <code>string</code> | Secure hash string generated from this package. |\n| password | <code>string</code> | User's password input. |\n\n<a name=\"identifiers\"></a>\n\n### identifiers() ⇒ <code>Array.&lt;string&gt;</code>\nGets the list of all identifiers supported by this hashing function.\n\n**Kind**: global function  \n**Returns**: <code>Array.&lt;string&gt;</code> - A list of identifiers supported by this hashing function.  \n**Access**: public  \n\n## Related\n- [@phc/scrypt][scrypt] -\n🔒 Node.JS scrypt password hashing algorithm following the PHC string format.\n- [@phc/bcrypt][bcrypt] -\n🔒 Node.JS bcrypt password hashing algorithm following the PHC string format.\n- [@phc/pbkdf2][pbkdf2] -\n🔒 Node.JS PBKDF2 password hashing algorithm following the PHC string format.\n\n## Contributing\n\nContributions are REALLY welcome and if you find a security flaw in this code, PLEASE [report it][new issue].  \n\n## Authors\n\n- **Simone Primarosa** - *Github* ([@simonepri][github:simonepri]) • *Twitter* ([@simoneprimarosa][twitter:simoneprimarosa])\n\nSee also the list of [contributors][contributors] who participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [license][license] file for details.\n\n<!-- Links -->\n[start]: https://github.com/simonepri/phc-argon2#start-of-content\n[new issue]: https://github.com/simonepri/phc-argon2/issues/new\n[contributors]: https://github.com/simonepri/phc-argon2/contributors\n\n[license]: https://github.com/simonepri/phc-argon2/tree/master/license\n\n[tvec]: https://github.com/simonepri/phc-argon2/tree/master/test/vectors.js\n\n[scrypt]: https://github.com/simonepri/phc-scrypt\n[bcrypt]: https://github.com/simonepri/phc-bcrypt\n[pbkdf2]: https://github.com/simonepri/phc-pbkdf2\n\n[github:simonepri]: https://github.com/simonepri\n[twitter:simoneprimarosa]: http://twitter.com/intent/user?screen_name=simoneprimarosa\n\n[gh:sympact]: https://github.com/simonepri/sympact\n\n[specs:mcf]: https://github.com/ademarre/binary-mcf\n[specs:phc]: https://github.com/P-H-C/phc-string-format/blob/master/phc-sf-spec.md\n[specs:B64]: https://github.com/P-H-C/phc-string-format/blob/master/phc-sf-spec.md#b64\n[specs:salt]: https://en.wikipedia.org/wiki/Salt_(cryptography)\n[specs:a2var]: https://crypto.stackexchange.com/a/49969\n[specs:Argon2]: https://en.wikipedia.org/wiki/Argon2\n\n[paper]: https://tools.ietf.org/html/draft-irtf-cfrg-argon2-03\n[paper:test]: https://tools.ietf.org/html/draft-irtf-cfrg-argon2-03#section-6\n","readmeFilename":"readme.md"}