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

Fix cifs-utils, up grub2-efi-x64 stuff for iso EFI
author Stanislas Leduc <shann@slitaz.org>
date Sat Mar 30 18:05:22 2024 +0000 (7 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.