{"id":13827463,"url":"https://github.com/simonepri/upash-cli","last_synced_at":"2025-04-28T16:09:58.704Z","repository":{"id":48359851,"uuid":"123807521","full_name":"simonepri/upash-cli","owner":"simonepri","description":"🌌 Hash password directly from your terminal","archived":false,"fork":false,"pushed_at":"2021-07-30T04:14:43.000Z","size":62,"stargazers_count":15,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-28T16:09:52.900Z","etag":null,"topics":["argon2","bcrypt","cli","hashing","nodejs","password","pbkdf2","scrypt","secure","unified","universal","upash"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonepri.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-04T16:35:09.000Z","updated_at":"2023-07-05T11:55:09.000Z","dependencies_parsed_at":"2022-08-20T13:41:36.795Z","dependency_job_id":null,"html_url":"https://github.com/simonepri/upash-cli","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonepri%2Fupash-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonepri%2Fupash-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonepri%2Fupash-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonepri%2Fupash-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonepri","download_url":"https://codeload.github.com/simonepri/upash-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251342724,"owners_count":21574245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["argon2","bcrypt","cli","hashing","nodejs","password","pbkdf2","scrypt","secure","unified","universal","upash"],"created_at":"2024-08-04T09:01:58.126Z","updated_at":"2025-04-28T16:09:58.689Z","avatar_url":"https://github.com/simonepri.png","language":"JavaScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/simonepri/upash\"\u003e\n    \u003cimg src=\"https://github.com/simonepri/upash/raw/master/media/upash.png\" alt=\"upash\" width=\"300\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003c!-- CI - TravisCI --\u003e\n  \u003ca href=\"https://travis-ci.com/simonepri/upash-cli\"\u003e\n    \u003cimg src=\"https://img.shields.io/travis/com/simonepri/upash-cli/master.svg?label=MacOS%20%26%20Linux\" alt=\"Mac/Linux Build Status\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- CI - AppVeyor --\u003e\n  \u003ca href=\"https://ci.appveyor.com/project/simonepri/upash-cli\"\u003e\n    \u003cimg src=\"https://img.shields.io/appveyor/ci/simonepri/upash-cli/master.svg?label=Windows\" alt=\"Windows Build status\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- Coverage - Codecov --\u003e\n  \u003ca href=\"https://codecov.io/gh/simonepri/upash-cli\"\u003e\n    \u003cimg src=\"https://img.shields.io/codecov/c/github/simonepri/upash-cli/master.svg\" alt=\"Codecov Coverage report\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- DM - Snyk --\u003e\n  \u003ca href=\"https://snyk.io/test/github/simonepri/upash-cli?targetFile=package.json\"\u003e\n    \u003cimg src=\"https://snyk.io/test/github/simonepri/upash-cli/badge.svg?targetFile=package.json\" alt=\"Known Vulnerabilities\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- DM - David --\u003e\n  \u003ca href=\"https://david-dm.org/simonepri/upash-cli\"\u003e\n    \u003cimg src=\"https://david-dm.org/simonepri/upash-cli/status.svg\" alt=\"Dependency Status\" /\u003e\n  \u003c/a\u003e\n\n  \u003cbr/\u003e\n\n  \u003c!-- Mentioned - Awesome NodeJS --\u003e\n  \u003ca href=\"https://github.com/sindresorhus/awesome-nodejs#security\"\u003e\n    \u003cimg src=\"https://awesome.re/mentioned-badge.svg\" alt=\"Mentioned in Awesome NodeJS\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- Code Style - XO-Prettier --\u003e\n  \u003ca href=\"https://github.com/xojs/xo\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/code_style-XO+Prettier-5ed9c7.svg\" alt=\"XO Code Style used\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- Test Runner - AVA --\u003e\n  \u003ca href=\"https://github.com/avajs/ava\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/test_runner-AVA-fb3170.svg\" alt=\"AVA Test Runner used\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- Test Coverage - Istanbul --\u003e\n  \u003ca href=\"https://github.com/istanbuljs/nyc\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/test_coverage-NYC-fec606.svg\" alt=\"Istanbul Test Coverage used\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- Init - ni --\u003e\n  \u003ca href=\"https://github.com/simonepri/ni\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/initialized_with-ni-e74c3c.svg\" alt=\"NI Scaffolding System used\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- Release - np --\u003e\n  \u003ca href=\"https://github.com/sindresorhus/np\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/released_with-np-6c8784.svg\" alt=\"NP Release System used\" /\u003e\n  \u003c/a\u003e\n\n  \u003cbr/\u003e\n\n  \u003c!-- Version - npm --\u003e\n  \u003ca href=\"https://www.npmjs.com/package/upash-cli\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/upash-cli.svg\" alt=\"Latest version on npm\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- License - MIT --\u003e\n  \u003ca href=\"https://github.com/simonepri/upash-cli/tree/master/license\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/simonepri/upash-cli.svg\" alt=\"Project license\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  🌌 Hash password directly from your terminal.\n\n  \u003cbr/\u003e\n\n  \u003csub\u003e\n    Coded with ❤️ by \u003ca href=\"#authors\"\u003eSimone Primarosa\u003c/a\u003e.\n  \u003c/sub\u003e\n\u003c/p\u003e\n\n## Synopsis\n\u003cimg src=\"https://github.com/simonepri/upash/raw/master/media/cli.gif\" alt=\"upash cli\" width=\"400\" align=\"right\"/\u003e\n\nThis package is part of the [upash][upash] project,\nwhich aim is to provide a unified and user-friendly APIs for all the passwords\nhashing algorithms out there.  \n\nIn particular, this package allows you to use multiple password hashing\nalgorithms through a simple CLI.\n\nDo you believe that this is useful? Has it saved you time? Or maybe you simply like it?  \nIf so, [support my work with a Star ⭐️][start].\n\n## Install\n```bash\nnpm install -g upash-cli\n```\n\n## Help\n```\nUsage\n  $ upash hash \u003calgorithm name\u003e \u003cpassword string\u003e\n  $ upash verify [\u003calgorithm name\u003e] \u003chash string\u003e \u003cpassword string\u003e\n\nAlgorithms available\n  argon2\n  scrypt\n  bcrypt\n  pbkdf2\n\nOptions for argon2 hashing\n  --variant \u003cnumber\u003e         Variant of argon2 to use.\n                             Can be one of ['d', 'i', 'id'] for\n                             argon2d, argon2i and argon2id respectively.\n  --iterations \u003cnumber\u003e      Number of iterations to use\n  --memory \u003cnumber\u003e          Amount of memory to use in kibibytes.\n  --parallelism \u003cnumber\u003e     Degree of parallelism to use.\n\nOptions for scrypt hashing\n  --blocksize \u003cnumber\u003e       Amount of memory to use in kibibytes.\n  --cost \u003cnumber\u003e            CPU/memory cost parameter.\n  --parallelism \u003cnumber\u003e     Degree of parallelism to use.\n\n Options for bcrypt hashing\n   --rounds \u003cnumber\u003e         Number of iterations to use as as 2^rounds.\n\n Options for pbkdf2 hashing\n   --iterations \u003cnumber\u003e     Number of iterations to use.\n   --digest \u003cstring\u003e         Name of digest to use when applying the key\n                             derivation function.\n                             Can be one of ['sha1', 'sha256', 'sha512'].\n\nExamples\n  $ upash hash argon2 'Hello World'\n  $ upash verify pbkdf2 'hash string' 'Hello World'\n  $ upash hash bcrypt 'Hello World' --rounds=10\n```\n\n## Supported password hashing algorithms\n- [@phc/argon2][argon2] -\n🔒 Node.JS argon2 password hashing algorithm following the PHC string format.\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\nContributions are REALLY welcome and if you find a security flaw in this code,\nPLEASE [report it][new issue].  \n\n## Authors\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\nThis project is licensed under the MIT License - see the [license][license] file for details.\n\n\u003c!-- Links --\u003e\n[upash]: https://github.com/simonepri/upash\n\n[start]: https://github.com/simonepri/upash-cli#start-of-content\n[new issue]: https://github.com/simonepri/upash-cli/issues/new\n[contributors]: https://github.com/simonepri/upash-cli/contributors\n\n[license]: https://github.com/simonepri/upash-cli/tree/master/license\n\n[argon2]: https://github.com/simonepri/phc-argon2\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","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonepri%2Fupash-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonepri%2Fupash-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonepri%2Fupash-cli/lists"}