aboutsummaryrefslogtreecommitdiffstats
path: root/perl/tt.pl
diff options
context:
space:
mode:
Diffstat (limited to 'perl/tt.pl')
-rw-r--r--perl/tt.pl15
1 files changed, 15 insertions, 0 deletions
diff --git a/perl/tt.pl b/perl/tt.pl
new file mode 100644
index 0000000000..31febc7d25
--- /dev/null
+++ b/perl/tt.pl
@@ -0,0 +1,15 @@
+#!/usr/local/bin/perl
+
+use ExtUtils::testlib;
+
+use SSLeay;
+
+for ($i=1; $i<1000; $i++)
+ {
+ $a.=$i%10;
+ $y=SSLeay::BN::dec2bn($a);
+ $z=SSLeay::BN::bn2dec($y);
+
+ print "$a\n$y\n$z\n";
+ }
+