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

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 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.