in reply to Securing program executing with Md5-hash
use strict; my $password = "whatever"; my @saltset = ('a' ..'z', 'A' .. 'Z', '0' .. '9', '.', '/'); my $nsalt = $saltset[$$ % 64] . $saltset[time % 64]; my $cryptedpass = crypt($password, $nsalt); print $cryptedpass,"\n"
|
|---|