mirror of
https://github.com/element-hq/synapse
synced 2024-10-01 05:12:41 +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…
Reference in a new issue