File Coverage

blib/lib/Crypt/XXTEA/CImpl.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Crypt::XXTEA::CImpl;
2              
3 1     1   29024 use 5.008008;
  1         5  
  1         39  
4 1     1   6 use strict;
  1         1  
  1         32  
5 1     1   6 use warnings;
  1         5  
  1         123  
6              
7             require Exporter;
8              
9             our @ISA = qw(Exporter);
10              
11             # Items to export into callers namespace by default. Note: do not export
12             # names by default without a very good reason. Use EXPORT_OK instead.
13             # Do not simply export all your public functions/methods/constants.
14              
15             # This allows declaration use Crypt::XXTEA::CImpl ':all';
16             # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
17             # will save memory.
18              
19             our @EXPORT_OK = qw(
20             xxtea_decrypt
21             xxtea_encrypt
22             long2str
23             str2long
24             );
25              
26             our $VERSION = '0.02';
27              
28             require XSLoader;
29             XSLoader::load('Crypt::XXTEA::CImpl', $VERSION);
30              
31             # Preloaded methods go here.
32              
33              
34              
35             1;
36             __END__