Update EncodeAndEncrypt.cs