Implementation of the general encryption algorithm
Since this algorithm is implemented in pure Ruby, it is not very fast. Therefore the
FastAES class based on OpenSSL should be used when possible.
For reference: This implementation is about 5000 times slower when decrypting and about 1800 times slower when encrypting than the
This implementation is using
AES in Cipher Block Chaining (CBC) mode.
See: PDF1.7 s7.6.2
Public Class Methods
Public Instance Methods
Encrypts or decrypts the given data whose length must be a multiple of BLOCK_SIZE.