Completed Encryption Engine. Test against example data 2 fails.