Crypt::TC18

Crypt::CBC compliant block cipher
Download

Crypt::TC18 Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Julius C. Duque
  • Publisher web site:
  • http://search.cpan.org/~jcduque/Crypt-Rainbow-1.0.0/Rainbow.pm

Crypt::TC18 Tags


Crypt::TC18 Description

Crypt::CBC compliant block cipher Crypt::TC18 is a Crypt::CBC compliant block cipher.ABSTRACTTC18 is 128-bit block cipher that accepts a 64-bit key. TC18 is also known as XSM.SYNOPSIS 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.Functionsblocksize Returns the size (in bytes) of the block (16, in this case)keysize Returns the size (in bytes) of the key (8, in this case)rounds Returns the number of rounds used by TC18 (16, in this case)encrypt($data) Encrypts 16 bytes of $data and returns the corresponding ciphertextdecrypt($data) Decrypts 16 bytes of $data and returns the corresponding plaintext Requirements: · Perl


Crypt::TC18 Related Software