openssl/perl/testdec.pl

15 lines
157 B
Perl
Raw Normal View History

#!/usr/local/bin/perl
use ExtUtils::testlib;
use SSLeay;
$a=SSLeay::BN::dec2bn("1234");
foreach (1..4)
{
$a*=$a;
print $a."\n",$a->bn2dec()."\n";
}