Qt Computing and Comparing Password Hashs
问题 Currently building a web facing authentication service in Qt for a Quiz program. It is my understanding that when storing a users password in a database it must be obscured in case it falls into the wrong hands. The prevailing method appears to be a process of adding Salt to the password and then storing the computed hash of the combination. This hash can later be compared : HASH( userinput + SALT ) = StoredHash Qt provides QCryptographicHash::hash( data, Algorithm method) but as the key is