mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-06 23:02:07 +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 New Issue
Block a user