wok view perl-crypt-cbc/description.txt @ rev 25707

Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 05 14:08:34 2024 +0000 (3 months ago)
parents
children
line source
1 This module is a Perl-only implementation of the cryptographic
2 cipher block chaining mode (CBC).
3 In combination with a block cipher such as AES or Blowfish,
4 you can encrypt and decrypt messages of arbitrarily long length.
5 The encrypted messages are compatible with the encryption format
6 used by the OpenSSL package.
8 To use this module, you will first create a Crypt::CBC cipher
9 object with new().
10 At the time of cipher creation, you specify an encryption key
11 to use and, optionally, a block encryption algorithm.
12 You will then call the start() method to initialize the encryption
13 or decryption process, crypt() to encrypt or decrypt one or more
14 blocks of data, and lastly finish(), to pad and encrypt the final
15 block.
16 For your convenience, you can call the encrypt() and decrypt()
17 methods to operate on a whole data value at once.