// We are going to use TripleDES as the algorithm for encrypting and
// decrypting the data. It is a very common algorithm and was chosen
// for this reason
// Create a new random TripleDESKey
final TripleDESKey key = new TripleDESKey();
// Create the encryption engine for encrypting the data
final TripleDESEncryptorEngine encryptionEngine =
new TripleDESEncryptorEngine(key);