… | |
… | |
28 | |
28 | |
29 | =cut |
29 | =cut |
30 | |
30 | |
31 | package Crypt::Twofish2; |
31 | package Crypt::Twofish2; |
32 | |
32 | |
33 | require DynaLoader; |
33 | use XSLoader; |
34 | |
34 | |
35 | $VERSION = '1.01'; |
35 | $VERSION = '1.02'; |
36 | @ISA = qw/DynaLoader/; |
|
|
37 | |
36 | |
38 | bootstrap Crypt::Twofish2 $VERSION; |
37 | XSLoader::load __PACKAGE__, $VERSION; |
39 | |
38 | |
40 | =item keysize |
39 | =item keysize |
41 | |
40 | |
42 | Returns the keysize, which is 32 (bytes). The Twofish2 cipher actually |
41 | Returns the keysize, which is 32 (bytes). The Twofish2 cipher actually |
43 | supports keylengths of 16, 24 or 32 bytes, but there is no way to |
42 | supports keylengths of 16, 24 or 32 bytes, but there is no way to |