summary refs log tree commit diff
path: root/scripts/gen_password
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen_password')
-rw-r--r--scripts/gen_password1
1 files changed, 1 insertions, 0 deletions
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"'