| 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
)
Protected Function ComputeHash (
pass As String,
devid As String,
salt As Byte()
) As Byte()
protected:
array<unsigned char>^ ComputeHash(
String^ pass,
String^ devid,
array<unsigned char>^ salt
)
member ComputeHash :
pass : string *
devid : string *
salt : byte[] -> byte[]
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:
ByteAn array of bytes containing the calculated hash.
Exceptions See Also