Click or drag to resize

EncryptionManagerCalculateClientUserAuthenticationHash Method

Calculates the hash for the user to authenticate to the server.

Namespace:  PsrApi.Managers
Assembly:  PsrApi (in PsrApi.dll) Version: 9.2.2.32703 (27.03.2025)+b9af25405a8dc67f2b73227b442cec4f08fd2d8a
Syntax
C#
public MtoHashResult CalculateClientUserAuthenticationHash(
	byte[] password,
	byte[] salt = null,
	Nullable<MtoHashAlgorithm> hashAlgorithm = null
)

Parameters

password
Type: SystemByte
The user password
salt (Optional)
Type: SystemByte
The salt of the user. null if a new salt should be created.
hashAlgorithm (Optional)
Type: SystemNullableMtoHashAlgorithm
The hash algorithm which should be used (null = most current hash version)

Return Value

Type: MtoHashResult
See Also