wok-current view perl-crypt-cbc/description.txt @ rev 24539
updated fbgrab (1.3 -> 1.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:32:13 2022 +0100 (2022-02-23) |
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.