public static byte[] Encode(float value) { byte[] data = BitConverter.GetBytes(value); XCSharp.Encrypt(data, 0, 3, data[3]); return(data); }