Click or drag to resize
ChatRoomHelperGetRoomPasswordHash Method (String, String)
Combines plain text password with salt and returns its hash. If plainText is null, it returns null. If it is empty string it retuns empty string.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 11.0.0
Syntax
C#
public static string GetRoomPasswordHash(
	string plainTextPassword,
	string salt
)

Parameters

plainTextPassword
Type: SystemString
Password in plain text.
salt
Type: SystemString
Salt (ChatRoomGUID)

Return Value

Type: String
Hashed password
See Also