public static string Generate() { string key = KeyOpertaions.ShuffleKey(KeyOpertaions.GetValidSecretKey(NetTime.GetNetworkTime())); return(key); }
public static bool IsValid(string key) { return(KeyOpertaions.DateTimeSum(NetTime.GetNetworkTime()) == KeyOpertaions.GetSumOfKey(key)); }