Click or drag to resize

SecurIdV3TokenComputeHash Method

Calculate a hash value for a given password, device ID (serial number), and salt value

Namespace:  SamoyedSoftware.ursa
Assembly:  SamoyedSoftware.ursa (in SamoyedSoftware.ursa.dll) Version: 0.2.0
Syntax
protected byte[] ComputeHash(
	string pass,
	string devid,
	byte[] salt
)

Parameters

pass
Type: SystemString
A string containing a password for the token.
devid
Type: SystemString
A string containing a device ID / serial number for the token.
salt
Type: SystemByte
A string containing a salt value.

Return Value

Type: Byte
An array of bytes containing the calculated hash.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if salt is null or empty.
See Also