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.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Crypt::HCE_SHA 0.70

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Eric Estabrooks | More programs
    Perl Artistic License / FREE
    August 22nd, 2008, 11:55 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Crypt::HCE_SHA description

    A Perl extension implementing one way hash chaining encryption using SHA.

    Crypt::HCE_SHA is a Perl extension implementing one way hash chaining encryption using SHA.

    SYNOPSIS

    use Crypt::HCE_SHA;

    $hce_sha = Crypt::HCE_SHA->new("SharedSecret", "Random01,39j309ad");

    $crypted = $hce_sha->hce_block_encrypt("Encrypt this information");
    $info = $hce_sha->hce_block_decrypt($crypted);

    $mime_crypted = $hce_sha->hce_block_encode_mime("Encrypt and Base64 this information");
    $info = $hce_sha->hce_block_decode_mime($mime_crypted);


    This module implements a chaining block cipher using a one way hash. This method of encryption is the same that is used by radius (RFC2138) and is also described in Applied Cryptography.

    Two interfaces are provided in the module. The first is straight block encryption/decryption the second does base64 mime encoding/decoding of the encrypted/decrypted blocks.

    The idea is the the two sides have a shared secret that supplies one of the keys and a randomly generated block of bytes provides the second key. The random key is passed in cleartext between the two sides.

    An example client and server are packaged as modules with this module. They are used in the tests. They can be found in the examples directory.

    Thanks to Jake Angerman for the bug report on the bug in key generation for the chaining portion of the algorithm.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    hash chaining | chaining encryption | Perl module | hash | chaining | encryption

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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