4 while (my $line = <STDIN
>) {
5 if ($line =~ /^Modulus=([0-9A-F]+)$/) {
7 $mod = substr $mod, length($mod) - 32;
9 my @mod = $mod =~ /(..)/g;
10 print join('', reverse @mod) . "\n";
13 warn "warning: unparsable line: $line\n";
18 # Old version, uses -text output
20 while (my $line = <STDIN
>) {
21 last if $line =~ /^modulus:/;
25 while (my $line = <STDIN
>) {
26 last if $line !~ /^\s/;
29 push @bytes, split m/:/, $line;
32 print join("", (reverse @bytes)[0..15]) . "\n";