|
UserDataCacheHashLoginID Method
|
Calculates the hash of the loginID used as the key for the user data cache.
Namespace: GSF.SecurityAssembly: GSF.Security (in GSF.Security.dll) Version: 2.4.207-beta
Syntax Protected Function HashLoginID (
loginID As String
) As String
function HashLoginID(loginID);
View SourceParameters
- loginID String
- Login ID to hash.
Return Value
StringThe Base64 encoded calculated SHA-2 hash of the
loginID used as the key for the user data cache.
Remarks
For added security, a hash of the
loginID is used as the key for
UserData in the
user data cache instead of the actual
loginID. This method allows the
consumer to properly calculate this hash when directly using the user data cache.
See Also