… | |
… | |
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 = 0.06; |
35 | $VERSION = '1.03'; |
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 |
… | |
… | |
103 | I also cannot guarantee for security, but the module is used quite a bit, |
102 | I also cannot guarantee for security, but the module is used quite a bit, |
104 | so there are no obvious bugs left. |
103 | so there are no obvious bugs left. |
105 | |
104 | |
106 | =head1 AUTHOR |
105 | =head1 AUTHOR |
107 | |
106 | |
108 | Marc Lehmann <pcg@goof.com> |
107 | Marc Lehmann <schmorp@schmorp.de> |
109 | http://www.goof.com/pcg/marc/ |
108 | http://home.schmorp.de/ |
110 | |
109 | |
111 | The actual twofish encryption is written in horribly microsoft'ish looking |
110 | The actual twofish encryption is written in horribly microsoft'ish looking |
112 | almost ansi-c by Doug Whiting. |
111 | almost ansi-c by Doug Whiting. |
113 | |
112 | |
114 | =cut |
113 | =cut |