Crypt-Simple
view release on metacpan or search on metacpan
CHANGES
Version 0.05 had a few missing subroutine bodies, so quite a few things
didn't work! I'm now practising what I preach, and have written some tests!
INTERNALS
"Crypt::Simple" is really just a wrapper round a few other useful Perl
modules: you may want to read the documentation for these modules too.
We use "FreezeThaw" to squish all your data into a concise textual
representation. We use "Compress::Zlib" to compress this string, and
then use "Crypt::Blowfish" in a home-brew CBC mode to perform the
encryption. Somewhere in this process we also add a MD5 digest (using
"Digest::MD5"). Then we throw the whole thing through "MIME::Base64" to
produce a nice bit of text for you to play with.
Decryption, obviously, is the reverse of this process.
WARNING
Governments throughout the world do not like encryption because it makes
it difficult for them to look at all your stuff. Each country has a
different policy designed to stop you using encryption: some governments
=back
=head1 INTERNALS
C<Crypt::Simple> is really just a wrapper round a few other useful Perl
modules: you may want to read the documentation for these modules too.
We use C<FreezeThaw> to squish all your data into a concise textual
representation. We use C<Compress::Zlib> to compress this string, and then use
C<Crypt::Blowfish> in a home-brew CBC mode to perform the encryption.
Somewhere in this process we also add a MD5 digest (using C<Digest::MD5>).
Then we throw the whole thing through C<MIME::Base64> to produce a nice bit of
text for you to play with.
Decryption, obviously, is the reverse of this process.
=head1 WARNING
Governments throughout the world do not like encryption because it makes it
difficult for them to look at all your stuff. Each country has a different
( run in 0.935 second using v1.01-cache-2.11-cpan-e1769b4cff6 )