The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Crypt::Mimetic::TEA - Tiny Encryption Algorithm

DESCRIPTION

This module is a part of Crypt::Mimetic.

This modules uses TEA to encrypt blocks of bytes, so DecryptFile needs @info containing generic-blocks-length and last-block-length (padlen) to know how decrypt a file. EncryptString and DecryptString always encrypt/decrypt a string as a single block.

PROCEDURAL INTERFACE

string ShortDescr ()

Return a short description of algorithm

boolean PasswdNeeded ()

Return true if password is needed by this algorithm, false otherwise. ('TEA' return always true)

($len,$blocklen,$padlen,[string]) EncryptFile ($filename,$output,$algorithm,$key,@info)

Encrypt a file with TEA algorithm. See Crypt::Mimetic::EncryptFile.

string EncryptString ($string,$algorithm,$key,@info)

Encrypt a string with TEA algorithm. See Crypt::Mimetic::EncryptString.

[string] DecryptFile ($filename,$output,$offset,$len,$algorithm,$key,@info)

Decrypt a file with TEA algorithm. See Crypt::Mimetic::DecryptFile.

string DecryptString ($string,$algorithm,$key,@info)

Decrypt a string with TEA algorithm. See Crypt::Mimetic::DecryptString.

NEEDED MODULES

This module needs: Error::Mimetic Crypt::Tea

KNOWN BUGS

Seems to be quite slow.

SEE ALSO

Crypt::Mimetic

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself (Artistic/GPL2).

AUTHOR

Erich Roncarolo <erich-roncarolo@users.sourceforge.net>

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 29:

'=item' outside of any '=over'

Around line 165:

You forgot a '=back' before '=head1'