Added one more implementation of Encrypt/Decrypt.