-
-
17 Mar 2002 21:34:42 UTC
- Distribution: Crypt-RC6
- Module version: 1
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (531 / 16 / 0)
- Kwalitee
Bus factor: 0- License: unknown
- Activity
24 month- Tools
- Download (11.14KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Crypt::RC6 - Crypt::CBC compliant RC6 block cipher encryption module
SYNOPSIS
use Crypt::RC6; my $cipher = new Crypt::RC6 $key; my $ciphertext = $cipher->encrypt($plaintext); my $plaintext = $cipher->decrypt($ciphertext);
DESCRIPTION
From THE RC6 BLOCK CIPHER, by Rivest, Robshaw, Sidney, and Yin...
"RC6 is an evolutionary improvement of RC5, designed to meet the requirements of the Advanced Encryption Standard (AES). Like RC5, RC6 makes essential use of data-dependent rotations. New features of RC6 include the use of four working registers instead of two, and the inclusion of integer multiplication as an additional primitive operation. The use of multiplication greatly increases the diffusion achieved per round, allowing for greater security, fewer rounds, and increased throughput."
This implementation requires the use of a 16-, 24-, or 32-byte key and 16-byte blocks for encryption/decryption. Twenty rounds are performed.
SEE ALSO
http://www.rsa.com/rsalabs/rc6/
AUTHOR
John Hughes (jhughes@frostburg.edu)
I am indebted to Marc Lehmann, the author of the
Crypt::Twofish2
module, as I used his code as a guide.Module Install Instructions
To install Crypt::RC6, copy and paste the appropriate command in to your terminal.
cpanm Crypt::RC6
perl -MCPAN -e shell install Crypt::RC6
For more information on module installation, please visit the detailed CPAN module installation guide.