Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Example command and output to generate the hash for string “plainpassword”:

Code Block
$ htpasswd -nbBC 10 USER plainpassword

...

Code Block
 
USER:$2y$10$1J2BG6LJYImEcZVRxXn1TOs9iRKLvJvWWSf5/AE5ZOaWUlmZxQJsa

 

Info

Hint: On Linux systems apache2-utils can be installed using the installed package manager. Probably administrative privileges are required, so the sudo command may be required.

Example command when using apt package manager:

...

info

  • Code Block
    apt install apache2-utils

 

Using

...

tia Password Encoder

kgs provides a little tool to generate bcrypt-Hashs for Java. Therefore this utility can be used in both Windows and Linux environments.

...