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.5.33325 (02.09.2025)+429b894eb63dde25f05b27278f37720b53aa9a8f
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