Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Crypt::TC18 1.0.0

    Download button

    No screenshots available
    Downloads: 314  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Julius C. Duque | More programs
    Perl Artistic License / FREE
    August 29th, 2008, 13:41 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Crypt::TC18 description

    Crypt::CBC compliant block cipher

    Crypt::TC18 is a Crypt::CBC compliant block cipher.

    ABSTRACT

    TC18 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.
    Functions

    blocksize

        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 ciphertext
    decrypt($data)

        Decrypts 16 bytes of $data and returns the corresponding plaintext

    Requirements:

    · Perl

      


    TAGS:

    Crypt::CBC cipher | block cipher | Perl class | Crypt::CBC | block | cipher

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM