From c# I Encode from byte array to string by StaxiCrypt libery as below :
string request=StaxiCrypt.HTTPCoding.EnCode(data.ConvertToByteArray().ToArray());
but I