Crypt::XXTEA

Crypt::XXTEA is an XXTEA encryption arithmetic module.
Download

Crypt::XXTEA Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ma Bingyao
  • Publisher web site:
  • http://search.cpan.org/~andot/Crypt-XXTEA-1.00/XXTEA.pm

Crypt::XXTEA Tags


Crypt::XXTEA Description

Crypt::XXTEA is an XXTEA encryption arithmetic module. Crypt::XXTEA is an XXTEA encryption arithmetic module.SYNOPSIS use Crypt::XXTEA;XXTEA is a secure and fast encryption algorithm. It's suitable for web development. This module allows you to encrypt or decrypt a string using the algorithm.FUNCTIONSxxtea_encrypt my $ciphertext = xxtea_encrypt($plaintext, $key); This function encrypts $plaintext using $key and returns the $ciphertext.encrypt my $ciphertext = Crypt::XXTEA::encrypt($plaintext, $key); This function is the same as xxtea_encrypt.xxtea_decrypt my $plaintext = xxtea_decrypt($ciphertext, $key); This function decrypts $ciphertext using $key and returns the $plaintext.decrypt my $plaintext = Crypt::XXTEA::decrypt($ciphertext, $key); This function is the same as xxtea_decrypt.EXAMPLE use Crypt::XXTEA; my $ciphertext = xxtea_encrypt("Hello XXTEA.", "1234567890abcdef"); my $plaintext = xxtea_decrypt($ciphertext, "1234567890abcdef"); print $plaintext; $ciphertext = Crypt::XXTEA::encrypt("Hi XXTEA.", "1234567890abcdef"); $plaintext = Crypt::XXTEA::decrypt($ciphertext, "1234567890abcdef"); print $plaintext; Requirements: · Perl


Crypt::XXTEA Related Software