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.1.33994 (05.02.2026)+877276ecd19b420b1689117d76424351f3a6cb2b
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