byte[] plainText =
{ 1, 2, 3, 4, 5, 6, 7, 8, 9 };
DesCbcCrcEncryption encryption = new DesCbcCrcEncryption();
EncryptedData encryptedData = encryption.getEncryptedData( encryptionKey, plainText, null );
byte[] recoveredText = encryption.getDecryptedData( encryptionKey, encryptedData, null );
assertTrue( beginsWith( plainText, recoveredText ) );
}