This class can be used to encrypt and decrypt data using the same encryption key. It uses the mcrypt library to encrypt and decrypt the data. The encryption key, algorithm, mode and source are configurable.