Crypt::TC18 - Crypt::CBC compliant block cipher |
Crypt::TC18 - Crypt::CBC compliant block cipher
TC18 is 128-bit block cipher that accepts a 64-bit key. TC18 is also known as XSM.
use Crypt::TC18;
$cipher = new Crypt::TC18 $key;
$ciphertext = $cipher->encrypt($plaintext); $plaintext = $cipher->decrypt($ciphertext);
$bs = $cipher->blocksize; $ks = $cipher->keysize; $r = $cipher->rounds;
TC18 is 128-bit block cipher that accepts a 64-bit key. It was designed by Tom St. Denis.
This module supports the Crypt::CBC interface, with the following functions.
See the ``examples'' directory for some examples
Crypt::Anubis, Crypt::Camellia, Crypt::Khazad, Crypt::Loki97, Crypt::Misty1, Crypt::Noekeon, Crypt::Rainbow, Crypt::Shark, Crypt::Skipjack, and Crypt::Square
Copyright 2004 by Julius C. Duque. Please read contact.html that comes with this distribution for details on how to contact the author.
This library is free software; you can redistribute it and/or modify it under the same terms as the GNU General Public License.
Crypt::TC18 - Crypt::CBC compliant block cipher |