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); }
public static string Get(Hash.HashTypes hashType, string originalString) { Hash pHash = new Hash(); return(pHash.CreateHash(originalString, hashType)); }