it-tools icon indicating copy to clipboard operation
it-tools copied to clipboard

/etc/passwd password hash generator

Open a-zhenya opened this issue 7 months ago • 1 comments

What type of request is this?

New tool idea

Clear and concise description of the feature you are proposing

Create a tool that generates a salt and password hash and/or full /etc/shadow entry for a given password

Is their example of this tool in the wild?

salt = "".join(random.choices(string.ascii_letters + string.digits, k=16))
salt = "$6$" + salt + "$"  # $6$ indicates SHA-512
hashed_password = crypt.crypt(password, salt)

Additional context

No response

Validations

  • [x] Check the feature is not already implemented in the project.
  • [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • [x] Check that the feature can be implemented in a client side only app (IT-Tools is client side only, no server).

a-zhenya avatar May 13 '25 09:05 a-zhenya

Hi @a-zhenya , implemented here: https://sharevb-it-tools.vercel.app/htpasswd-generator

And if you are interested in an up to date version of it-tools, with many improvements, new tools, and bug fixes, as this repo is almost no more maintained, I made a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)

sharevb avatar Jun 08 '25 22:06 sharevb