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.4.33163 (18.08.2025)+dec6f51c484240b8abaa8be3c442061ed610820b
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