diff options
author | Miquel Lionel <lionel@les-miquelots.net> | 2021-06-06 15:32:41 +0100 |
---|---|---|
committer | Miquel Lionel <lionelmiquel@sfr.fr> | 2021-06-06 15:32:41 +0100 |
commit | bfe2259a237215da3dc43f0bfc9563e1d43f943f (patch) | |
tree | 6304628aa24b161683fa38cd27f0f6509f8f61d0 /genpass.pl | |
parent | 10231a07a1ea47f6de56a468dd1daa2068ae50ae (diff) | |
download | gpigeon-bfe2259a237215da3dc43f0bfc9563e1d43f943f.tar.gz gpigeon-bfe2259a237215da3dc43f0bfc9563e1d43f943f.zip |
a more verbose makefile and explicative readme.
- also genpass.pl didn't need a newline when priting
argon2id hash
Diffstat (limited to 'genpass.pl')
-rwxr-xr-x | genpass.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,5 +5,5 @@ use Crypt::Argon2 qw/argon2id_pass/; my $pass = `openssl rand -base64 32`; my $salt = `openssl rand 16`; chomp $pass; -print "$pass\n"; -print argon2id_pass($pass, $salt, 3, '32M', 1, 32),"\n"; +print $pass,"\n"; +print argon2id_pass($pass, $salt, 3, '32M', 1, 32); |