File Coverage

blib/lib/Crypt/TC18.pm
Criterion Covered Total %
statement 6 9 66.6
branch n/a
condition n/a
subroutine 2 5 40.0
pod 3 3 100.0
total 11 17 64.7


line stmt bran cond sub pod time code
1             package Crypt::TC18;
2              
3 3     3   793189 use strict;
  3         8  
  3         121  
4 3     3   19 use warnings;
  3         5  
  3         446  
5             require Exporter;
6              
7             our @EXPORT_OK = qw(keysize blocksize new encrypt decrypt rounds);
8             our $VERSION = '1.0.0';
9             our @ISA = qw(Exporter);
10              
11             require XSLoader;
12             XSLoader::load('Crypt::TC18', $VERSION);
13              
14             # Preloaded methods go here.
15              
16 0     0 1   sub keysize { 8 }
17 0     0 1   sub blocksize { 16 }
18 0     0 1   sub rounds { 16 } # may be useful in some applications
19              
20             1;
21              
22             __END__