Crypt::NULL

NULL Encryption Algorithm
Download

Crypt::NULL Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Abhijit Menon-Sen
  • Publisher web site:
  • http://search.cpan.org/~ams/Crypt-GOST-1.00/GOST.pm

Crypt::NULL Tags


Crypt::NULL Description

NULL Encryption Algorithm Crypt::NULL is a Perl module that contains the NULL encryption algorithm.SYNOPSISuse Crypt::NULL;$cipher = Crypt::NULL->new($key);$ciphertext = $cipher->encrypt($plaintext);$plaintext = $cipher->decrypt($ciphertext);The NULL Encryption Algorithm is a symmetric block cipher described in RFC 2410 by Rob Glenn and Stephen Kent.This module implements NULL encryption. It 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 (16, in this case).new($key) This creates a new Crypt::NULL object with the specified key.encrypt($data) Encrypts blocksize() bytes of $data and returns the corresponding ciphertext.decrypt($data) Decrypts blocksize() bytes of $data and returns the corresponding plaintext. Requirements: · Perl


Crypt::NULL Related Software