public static string Encrypt(string pToEncrypt) { Security.Hasher hs = new Security.Hasher(); hs.HashKey = Encoding.UTF8.GetBytes("Panduo (Hangzhou) Information Technology"); hs.HashText = pToEncrypt; return(hs.SHA512ManagedHasher()); }