Beispiel #1
0
 // Token: 0x06000185 RID: 389 RVA: 0x0000B740 File Offset: 0x00009940
 public static string Decrypt(string original, Encoding encoding)
 {
     return(SecurityHelper.Decrypt(original, "YangXiangYuan", encoding));
 }
Beispiel #2
0
 // Token: 0x06000186 RID: 390 RVA: 0x0000B760 File Offset: 0x00009960
 public static string Encrypt(string original, string key)
 {
     byte[] bytes  = Encoding.Default.GetBytes(original);
     byte[] bytes2 = Encoding.Default.GetBytes(key);
     return(Convert.ToBase64String(SecurityHelper.Encrypt(bytes, bytes2)));
 }
Beispiel #3
0
 // Token: 0x06000184 RID: 388 RVA: 0x0000B720 File Offset: 0x00009920
 public static string Decrypt(string original, string key)
 {
     return(SecurityHelper.Decrypt(original, key, Encoding.Default));
 }
Beispiel #4
0
 // Token: 0x06000183 RID: 387 RVA: 0x0000B6FC File Offset: 0x000098FC
 public static string Decrypt(string original)
 {
     return(SecurityHelper.Decrypt(original, "YangXiangYuan", Encoding.Default));
 }
Beispiel #5
0
 // Token: 0x0600018E RID: 398 RVA: 0x0000B968 File Offset: 0x00009B68
 public static byte[] Decrypt(byte[] encrypted)
 {
     byte[] bytes = Encoding.Default.GetBytes("YangXiangYuan");
     return(SecurityHelper.Decrypt(encrypted, bytes));
 }
Beispiel #6
0
 // Token: 0x06000182 RID: 386 RVA: 0x0000B6DC File Offset: 0x000098DC
 public static string Encrypt(string original)
 {
     return(SecurityHelper.Encrypt(original, "YangXiangYuan"));
 }
Beispiel #7
0
 // Token: 0x0600018D RID: 397 RVA: 0x0000B93C File Offset: 0x00009B3C
 public static byte[] Encrypt(byte[] original)
 {
     byte[] bytes = Encoding.Default.GetBytes("YangXiangYuan");
     return(SecurityHelper.Encrypt(original, bytes));
 }