1 2 Crypt::Tea_JS.pm 3 4This module implements TEA, the Tiny Encryption Algorithm, and some 5Modes of Use based on CBC, compatibly in both Perl and JavaScript. 6This enables CGI scripts to communicate with browsers, as well 7as working as a normal private-key strong-encryption engine. 8 9Subroutines offer encryption, decryption & digest, and all cyphertext 10is ascii-encoded to prevent munging. Another routine returns JavaScript 11code with identical functions, and this can be used by CGIs to feed to 12a browser. A wrapper executable 'tea' is included for command-line use. 13 14Crypt::Tea_JS is the continuation of Crypt::Tea under another name. 15(Microsoft systems confused the old name with a different module 16Crypt::TEA and were unable to install both). The calling interface 17is identical. Since this change, Crypt::Tea_JS offers: 18 * since 2.13, the New Improved version of the Tea algorithm 19 is used, which provides even stronger encryption. 20 * implementation in C of some of the core routines, for improved 21 performance (at the server, if you're using it in a CGI context). 22 * since 2.23, it reverts to PurePerl if the C library is missing at 23 load-time, to make it easier for apps to bundle their whole stack. 24 25To install just: 26 perl Makefile.PL 27 make 28 make test 29 make install 30 31Peter J Billam http://www.pjb.com.au/comp/contact.html 32