0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-24 20:14:31 +01:00
synapse/scripts/gen_password
2015-12-10 19:03:06 +00:00

1 line
209 B
Text

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"'