From 5577a6109052e6c953a1532ecb3b473db709905e Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 10 Dec 2015 19:03:06 +0000 Subject: [PATCH] throwaway 1-liner for generating password hashes --- scripts/gen_password | 1 + 1 file changed, 1 insertion(+) create mode 100644 scripts/gen_password diff --git a/scripts/gen_password b/scripts/gen_password new file mode 100644 index 0000000000..7afd3a5dfd --- /dev/null +++ b/scripts/gen_password @@ -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"'