mirror of
https://github.com/element-hq/synapse
synced 2024-06-30 18:23:28 +00:00
throwaway 1-liner for generating password hashes
This commit is contained in:
parent
86345a511f
commit
5577a61090
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