argh
This commit is contained in:
parent
b4e324a156
commit
55aaf322af
67 changed files with 7142 additions and 14 deletions
9
bin/_old/old/cvspasswd.sh
Executable file
9
bin/_old/old/cvspasswd.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/perl
|
||||
|
||||
srand (time());
|
||||
my $randletter = "(int (rand (26)) + (int (rand (1) + .5) % 2 ? 65 : 97))";
|
||||
my $salt = sprintf ("%c%c", eval $randletter, eval $randletter);
|
||||
my $plaintext = shift;
|
||||
my $crypttext = crypt ($plaintext, $salt);
|
||||
|
||||
print "${crypttext}\n";
|
||||
Loading…
Add table
Add a link
Reference in a new issue