Java and C# AES encryption example