summary refs log tree commit diff
path: root/scripts/gen_password
blob: 7afd3a5dfd005349ada7d204bf7ce6ace5de621c (plain) (blame)
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"'