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.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 10.0.0
Syntaxpublic static string GetRoomPasswordHash(
string plainTextPassword,
Guid salt
)
Parameters
- plainTextPassword
- Type: SystemString
Password in plain text. - salt
- Type: SystemGuid
Salt (ChatRoomGUID)
Return Value
Type:
StringHashed password
See Also