Pasword encoded as UTF-8 if AuthCredentials.hash is false or the hash (specified
in AuthCredentials.hashAlgorithm) of the password encoded as UTF-8 concatenated
with the bytes from AuthCredentials.payload if true.
The hash can be done with a function (if hashAlgorithm is sha1) in D:
Pasword encoded as UTF-8 if AuthCredentials.hash is false or the hash (specified in AuthCredentials.hashAlgorithm) of the password encoded as UTF-8 concatenated with the bytes from AuthCredentials.payload if true. The hash can be done with a function (if hashAlgorithm is sha1) in D:
Or using MessageDigest in Java: