mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-15 17:17:08 +00:00
10 lines
180 B
Perl
10 lines
180 B
Perl
#!/usr/bin/env perl
|
|
require 5.008;
|
|
use warnings;
|
|
use strict;
|
|
use Digest::SHA;
|
|
|
|
binmode STDIN;
|
|
my $digest = Digest::SHA->new('sha1')->addfile(*STDIN)->hexdigest;
|
|
print "$digest\n";
|