1 2 3 4 5 6 7 8 9
#!/usr/bin/perl use strict; use warnings; use Digest::MD5 qw(md5_hex); use Digest::file qw(digest_file_hex); my $checksumme = digest_file_hex("test_md5.png",'MD5'); my $md5 = md5_hex("test_md5.png"); print "$checksumme / $md5\n";
Quotec418f178d7230a6257254f2e25b79dce / 0fef3f9c73f46ac10e6285ce8289638c