| 1 | package Crypt::CAST5_PP; | ||||||||||
| 2 | |||||||||||
| 3 | 1 | require 5.004; | |||||||||
| 4 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 2 | ▶ | use AutoLoader qw( AUTOLOAD ); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 2 | ▶ | use Carp; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 2 | ▶ | use integer; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | 2 | ▶ | use vars qw( @s1 @s2 @s3 @s4 @s5 @s6 @s7 @s8 $VERSION ); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | |||||||||||
| 10 | 1 | $VERSION = "1.04"; | |||||||||
| 11 | |||||||||||
| 12 | 1 | ▶ | sub new { | ||||||||
|
Subroutine
new: called CC=2 SCAR=7.0
Pod
documented
| |||||||||||
| 13 | 1 | my ($class, $key) = @_; | |||||||||
| 14 | 1 | my $cast5 = { }; | |||||||||
| 15 | 1 | bless $cast5 => $class; | |||||||||
| 16 | 1 | ▶ | $cast5->init($key) if defined $key; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 17 | 1 | return $cast5; | |||||||||
| 18 | } # new | ||||||||||
| 19 | |||||||||||
| 20 | 0 | ▶ | sub blocksize { return 8 } | ||||||||
|
Subroutine
blocksize: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 21 | 0 | ▶ | sub keysize { return 16 } | ||||||||
|
Subroutine
keysize: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 22 | |||||||||||
| 23 | 1 | 1 # end module | |||||||||
| 24 | __END__ | ||||||||||