In PHP..
$data = "Cheese\n";
- trailing newline char
Steven Carr wrote:
Hello All,
Im having trouble with compatibility between MD5 Digest in Perl and in
PHP. They dont give the same results.
Perl
#!/usr/local/bin/perl
use strict;
use Digest::MD5 ();
my $to_be_hashed = "Cheese";
my ($hash)
Hello All,
Im having trouble with compatibility between MD5 Digest in Perl and in
PHP. They dont give the same results.
Perl
#!/usr/local/bin/perl
use strict;
use Digest::MD5 ();
my $to_be_hashed = "Cheese";
my ($hash) = Digest::MD5->md5_hex($to_be_hashed);
print "to_be_hashed : '$to_be_
2 matches
Mail list logo