Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Crypt::Twofish_PP::KeyUser)Contributed Perl DocumenCrypt::Twofish_PP::Key32(3)

NAME
       Crypt::Twofish_PP::Key32	- Twofish with 32 byte (256 bits) keysize

SYNOPSIS
	 use Crypt::CBC;
	 my $cipher = Crypt::CBC->new (key => 'my secret key',
				       cipher => 'Twofish_PP::Key32');

DESCRIPTION
       This module is only a helper module and you should never	use it
       directly.  Use Crypt::Twofish_PP(3) instead and see there for more
       documentation.

       The standard module for Cipher Block Chaining (CBC) in Perl,
       Crypt::CBC(3) cannot grok with variable key sizes.  However, the
       Twofish algorithm is defined for	key sizes of 32, 24, and 32 bytes, but
       there is	no way to communicate that to Crypt::CBC.

       If you want to use Crypt::Twofish_PP(3) in CBC mode with	a keysize of
       32, simply specify Crypt::Twofish_PP::Key32 as the algorithm.  It is
       eqeuivalent to Crypt::Twofish_PP(3) but it will report a	default
       keysize of 32 bytes back	to Crypt::CBC(3).

       Note that this is not necessarily the real keysize.  The	method
       keysize() of Crypt::Twofish_PP(3) only exists to	satisfy	Crypt::CBC(3).
       The module will derive the real keysize from the	length of the key you
       supply.

AUTHOR
       Copyright (C) 2003, Guido Flohr <guido@imperia.net>, all	rights
       reserved.  See the source code for details.

       This software is	contributed to the Perl	community by Imperia
       (<http://www.imperia.net/>).

SEE ALSO
       Crypt::CBC(3), Crypt::Twofish_PP(3), Crypt::Twofish::Key24(3),
       Crypt::Twofish_PP::Key32(3), perl(1)

POD ERRORS
       Hey! The	above document had some	coding errors, which are explained
       below:

       Around line 98:
	   =cut	found outside a	pod block.  Skipping to	next block.

perl v5.32.0			  2003-11-21	   Crypt::Twofish_PP::Key32(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR | SEE ALSO | POD ERRORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Crypt::Twofish_PP::Key32&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help