コード例 #1
0
 /// <summary>
 /// 生成原始编码Codekey
 /// </summary>
 /// <returns></returns>
 public static string GenOriginalCodeKey(string token) => Coding.MD5(token + "@" + DateTime.Now.Ticks);
コード例 #2
0
 /// <summary>
 /// 生成随机16进制字符串
 /// </summary>
 /// <returns></returns>
 public static string GenRandomHEX() => Coding.MD5("GZTime:" + DateTime.Now.Ticks + new Random().Next());