Click or drag to resize
ChatRoomHelperGetRoomPasswordHash Method (String, Guid)
Combines plain text password with salt (GUID converted to string) 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: 9.0.0
Syntax
C#
public static string GetRoomPasswordHash(
	string plainTextPassword,
	Guid salt
)

Parameters

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

Return Value

Type: String
Hashed password
See Also