private static IEnumerable <byte> smethod_5(byte[] byte_0, IEnumerable <byte> ienumerable_0) { GClass801.< > c__DisplayClass5_0 CS$ < > 8__locals1 = new GClass801.< > c__DisplayClass5_0(); CS$ < > 8__locals1.byte_0 = GClass801.smethod_4(byte_0); CS$ < > 8__locals1.int_0 = 0; CS$ < > 8__locals1.int_1 = 0; return(ienumerable_0.Select(new Func <byte, byte>(CS$ < > 8__locals1.method_0))); }
private static byte[] smethod_4(byte[] byte_0) { byte[] array = Enumerable.Range(0, 256).Select(new Func <int, byte>(GClass801.< > c.< > c_0.method_0)).ToArray <byte>(); int i = 0; int num = 0; while (i < 256) { num = (num + (int)byte_0[i % byte_0.Length] + (int)array[i] & 255); GClass801.smethod_6(array, i, num); i++; } return(array); }
public static string smethod_0(string string_0, string string_1) { Encoding unicode = Encoding.Unicode; return(Convert.ToBase64String(GClass801.smethod_2(unicode.GetBytes(string_0), unicode.GetBytes(string_1)))); }
public static byte[] smethod_3(byte[] byte_0, byte[] byte_1) { return(GClass801.smethod_5(byte_0, byte_1).ToArray <byte>()); }