blob: 495a277b49b68808bf3abc30f293df62cfd5fc05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
This module is a Perl-only implementation of the ECB mode. In
combination with a block cipher such as DES, IDEA or Blowfish, you can
encrypt and decrypt messages of arbitrarily long length. Though for
security reasons other modes than ECB such as CBC should be preferred.
See textbooks on cryptography if you want to know why.
The functionality of the module can be accessed via OO methods or via
standard function calls. Remember that some crypting module like for
example Blowfish has to be installed. The syntax follows that of
Crypt::CBC meaning you can access Crypt::ECB exactly like Crypt::CBC,
though Crypt::ECB is more flexible. For example you can change the key
or the cipher without having to create a new crypt object.
WWW: http://search.cpan.org/dist/Crypt-ECB/
--will
|