SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Crypt-Twofish2 rpm build for : OpenSuSE. For other distributions click perl-Crypt-Twofish2.

Name : perl-Crypt-Twofish2
Version : 1.03 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp155.1.1 Date : 2023-07-20 20:10:59
Group : Unspecified Source RPM : perl-Crypt-Twofish2-1.03-lp155.1.1.src.rpm
Size : 0.06 MB
Packager : https://www_suse_com/
Summary : Crypt::CBC compliant Twofish encryption module
Description :
This module implements the twofish cipher in a less braindamaged (read:
slow and ugly) way than the existing \'Crypt::Twofish\' module.

Although it is \'Crypt::CBC\' compliant you usually gain nothing by using
that module (except generality, which is often a good thing), since
\'Crypt::Twofish2\' can work in either ECB or CBC mode itself.

* keysize

Returns the keysize, which is 32 (bytes). The Twofish2 cipher actually
supports keylengths of 16, 24 or 32 bytes, but there is no way to
communicate this to \'Crypt::CBC\'.

* blocksize

The blocksize for Twofish2 is 16 bytes (128 bits), which is somewhat
unique. It is also the reason I need this module myself ;)

* $cipher = new $key [, $mode]

Create a new \'Crypt::Twofish2\' cipher object with the given key (which must
be 128, 192 or 256 bits long). The additional \'$mode\' argument is the
encryption mode, either \'MODE_ECB\' (electronic cookbook mode, the default),
\'MODE_CBC\' (cipher block chaining, the same that \'Crypt::CBC\' does) or
\'MODE_CFB1\' (1-bit cipher feedback mode).

ECB mode is very insecure (read a book on cryptography if you don\'t know
why!), so you should probably use CBC mode. CFB1 mode is not tested and is
most probably broken, so do not try to use it.

In ECB mode you can use the same cipher object to encrypt and decrypt data.
However, every change of \"direction\" causes an internal reordering of key
data, which is quite slow, so if you want ECB mode and
encryption/decryption at the same time you should create two seperate
\'Crypt::Twofish2\' objects with the same key.

In CBC mode you have to use seperate objects for encryption/decryption in
any case.

The \'MODE_*\'-constants are not exported by this module, so you must specify
them as \'Crypt::Twofish2::MODE_CBC\' etc. (sorry for that).

* $cipher->encrypt($data)

Encrypt data. The size of \'$data\' must be a multiple of \'blocksize\' (16
bytes), otherwise this function will croak. Apart from that, it can be of
(almost) any length.

* $cipher->decrypt($data)

The pendant to \'encrypt\' in that it _de_crypts data again.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-C/15.5/x86_64

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Crypt-Twofish2-1.03-lp155.1.1.x86_64.rpm
     

Provides :
perl(Crypt::Twofish2)
perl-Crypt-Twofish2
perl-Crypt-Twofish2(x86-64)

Requires :
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
perl(:MODULE_COMPAT_5.26.1)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/Crypt
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/Crypt/Twofish2.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/auto/Crypt
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/auto/Crypt/Twofish2
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/auto/Crypt/Twofish2/Twofish2.so
/usr/share/doc/packages/perl-Crypt-Twofish2
/usr/share/doc/packages/perl-Crypt-Twofish2/Changes
/usr/share/doc/packages/perl-Crypt-Twofish2/README
/usr/share/licenses/perl-Crypt-Twofish2
/usr/share/licenses/perl-Crypt-Twofish2/COPYING
/usr/share/man/man3/Crypt::Twofish2.3pm.gz

 
ICM