Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
3
Task/SHA-1/Perl/sha-1-1.pl
Normal file
3
Task/SHA-1/Perl/sha-1-1.pl
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
use Digest::SHA qw(sha1_hex);
|
||||
|
||||
print sha1_hex('Rosetta Code'), "\n";
|
||||
5
Task/SHA-1/Perl/sha-1-2.pl
Normal file
5
Task/SHA-1/Perl/sha-1-2.pl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
use Digest::SHA;
|
||||
|
||||
my $sha1 = Digest::SHA->new(1);
|
||||
$sha1->add('Rosetta Code');
|
||||
print $sha1->hexdigest, "\n";
|
||||
Loading…
Add table
Add a link
Reference in a new issue