Click or drag to resize

PasswordResetControllerHashResponse Method

Generates a SHA512 hash of the provided string for storing in the database. A random 4 byte salt is generated and prepended to the result.

Namespace:  Omada.OE.Solution.OIM.AppLogic
Assembly:  Omada.OE.Solution.OIM.AppLogic (in Omada.OE.Solution.OIM.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public string HashResponse(
	int identityId,
	int questionId,
	string clearData
)

Parameters

identityId
Type: SystemInt32
Will be part of the hash result
questionId
Type: SystemInt32
Will be part of the hash result
clearData
Type: SystemString
Clear text response to store

Return Value

Type: String
SHA512 hash value
See Also