Manual Reference Pages - CRYPT::RC5 (3)
Crypt::RC5 - Perl implementation of the RC5 encryption algorithm.
$ref = Crypt::RC5->new( $key, $rounds );
$ciphertext = $ref->encrypt( $plaintext );
$ref2 = Crypt::RC5->new( $key, $rounds );
$plaintext2 = $ref2->decrypt( $ciphertext );
RC5 is a fast block cipher designed by Ronald Rivest for RSA Data Security (now RSA Security) in 1994. It is a parameterized algorithm with a variable block size, a variable key size, and a variable number of rounds. This particular implementation is 32 bit. As such, it is suggested that a minimum of 12 rounds be performed.
Core logic based on RC5 in 6 lines of perl at http://www.cypherspace.org
Kurt Kincaid (firstname.lastname@example.org)
Ronald Rivest for RSA Security, Inc.
perl, <http://www.cypherspace.org>, <http://www.rsasecurity.com>
|perl v5.20.3 ||RC5 (3) ||2002-11-05 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.