public static FromString ( TpmAlgId hashAlg, string password ) : |
||
hashAlg | TpmAlgId | |
password | string | |
return |
/// <summary> /// Create an AuthValue from the hash of the string. See TpmHash.FromString for the transformation used. /// </summary> /// <param name="hashAlg"></param> /// <param name="password"></param> /// <returns></returns> public static AuthValue FromString(TpmAlgId hashAlg, string password) { return(new AuthValue(TpmHash.FromString(hashAlg, password))); }