Description
Returns a secure one-way hash of a string in a way that only the user can calculate. Use this so that a user can "sign" a string and later check that it has not been modified.
It is astronomically improbable that two strings have the same hash, or that a string can be derived from a hash by brute force.
The hash is sensitive to changes in the user setup, such as password change, so this should only be used for hashing strings as part of a short-term process.
Use the Hash service if you want to hash a string in a way that another user will create the same hash.
Input
<UserHash> <userLogonReference/> <password/>
<plain>string</plain>
</UserHash>
Output
<UserHash> <errorNumber>0</errorNumber>
<hash>hashed string</hash>
</UserHash>
Errors
103 - Parameter error (parameter missing or empty)