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.3.0.33526 (08.10.2025)+e4d6269d444890d28afbdf39a4add0d0ad0df4f2
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