Beispiel #1
0
        public static string GetStringHashSHA512(string str)
        {
            string result = null;

            using (HashAlgorithm algo = new SHA512Managed())
            {
                algo.TransformString(str);

                result = algo.GetAsString();
                algo.Clear();
            }
            return(result);
        }