Example #1
0
        public static bool Verify(Hash.HashTypes hashType, string checkString, string hashValue, string saltString)
        {
            Hash pHash = new Hash();

            string theHash = pHash.CreateHash(checkString, hashType, saltString);

            return(theHash == hashValue);
        }
Example #2
0
        public static string Get(Hash.HashTypes hashType, string originalString)
        {
            Hash pHash = new Hash();

            return(pHash.CreateHash(originalString, hashType));
        }