Thread Neue PerlBase gesichtet (33 answers)
Opened by morph at 2006-03-06 00:36

bloonix
 2006-03-06 14:44
#18208 #18208
User since
2005-12-17
1615 Artikel
HausmeisterIn
[Homepage]
user image
[quote=GwenDragon,06.03.2006, 13:22]@opi
Crypt::PasswdMD5 unter Perl 5.6, wenn es in anderen Modulen benutzt wird und in den Modulen use warnings; aktiv ist
;)[/quote]
Die Änderung deines Threads ist nicht fair :)

Ich habe es gerade ausprobiert...

Code: (dl )
1
2
3
4
5
6
7
8
9
10
#!/usr/local/bin/perl -w
use strict;
use Crypt::PasswdMD5;

my $password = "hello world";
my $salt = 0;
my $cryptedpassword = unix_md5_crypt($password, $salt);
my $apachepassword = apache_md5_crypt($password, $salt);

print "$cryptedpassword\n$apachepassword\n";

Code: (dl )
1
2
3
#./crypt.pl 
$1$0$F5OiJ66y/jgdjJY8RH5F7/
$apr1$0$ZFDf6oa7EAqdRS7teAosx.


... und habe nix gefunden

Edit: war das etwa ein Gaudi?\n\n

<!--EDIT|opi|1141650569-->
What is a good module? That's hard to say.
What is good code? That's also hard to say.
One man's Thing of Beauty is another's man's Evil Hack.

View full thread Neue PerlBase gesichtet