mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-13 19:28:44 +00:00
throwaway 1-liner for generating password hashes
This commit is contained in:
parent
86345a511f
commit
5577a61090
1 changed files with 1 additions and 0 deletions
1
scripts/gen_password
Normal file
1
scripts/gen_password
Normal file
|
@ -0,0 +1 @@
|
|||
perl -MCrypt::Random -MCrypt::Eksblowfish::Bcrypt -e 'print Crypt::Eksblowfish::Bcrypt::bcrypt("secret", "\$2\$12\$" . Crypt::Eksblowfish::Bcrypt::en_base64(Crypt::Random::makerandom_octet(Length=>16)))."\n"'
|
Loading…
Add table
Reference in a new issue