Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Crypt::Ctr 0.01

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Matthias Bauer | More programs
    Perl Artistic License / FREE
    July 28th, 2010, 17:08 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Crypt::Ctr description

    Encrypt Data in Counter Mode

    The Crypt::Ctr module offers generic counter mode implementation in pure Perl. The Counter Mode module constructs a stream cipher from a block cipher or cryptographic hash funtion and returns it as an object.

    Any block cipher in the Crypt:: class can be used, as long as it supports the blocksize and keysize methods. Any hash function in the Digest:: class can be used, as long as it supports the add method.

    SYNOPSIS

     use Crypt::Ctr;

     my $cipher = new Crypt::Ctr $key, 'Crypt::Rijndael';

     my $ciphertext = $cipher->encrypt($plaintext);
     my $plaintext = $cipher->decrypt($ciphertext);

     my $cipher2 = new Crypt::Ctr $key, 'Digest::MD5';

     $ciphertext = $cipher->encrypt($plaintext);
     $plaintext = $cipher->decrypt($ciphertext);



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    data encryption | counter mode | Perl module | Perl | encryption | counter

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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