aboutsummaryrefslogtreecommitdiffstats
path: root/fripost-mkpass
diff options
context:
space:
mode:
Diffstat (limited to 'fripost-mkpass')
-rwxr-xr-xfripost-mkpass2
1 files changed, 1 insertions, 1 deletions
diff --git a/fripost-mkpass b/fripost-mkpass
index c30bd37..c0bf6de 100755
--- a/fripost-mkpass
+++ b/fripost-mkpass
@@ -41,7 +41,7 @@ $password //= mkpasswd();
# Show the information that will be inserted
say "Password: " . $password;
-say "Salted SHA-1: " . hash(SHA1, undef, $password);
+say "Salted SHA-1: " . hash($password, SHA1, undef);
=head1 AUTHORS