wok-6.x view perl-crypt-cbc/description.txt @ rev 24723

updated libcap, libcap-dev and libcap-pam (2.33 -> 2.63)
author Hans-G?nter Theisgen
date Tue Mar 15 10:34:20 2022 +0100 (2022-03-15)
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.