2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-23 03:18:59 +00:00
qpdf/fuzz/get_sha1

10 lines
178 B
Plaintext
Raw Normal View History

2019-06-15 15:20:55 +00:00
#!/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;
2022-03-05 13:15:50 +00:00
print "$digest";