Click or drag to resize

SecurIdV2TokenGetEncryptionKey Method

Calculate an encryption key for a given password and device ID (serial number)

Namespace:  SamoyedSoftware.ursa
Assembly:  SamoyedSoftware.ursa (in SamoyedSoftware.ursa.dll) Version: 0.2.0
Syntax
protected byte[] GetEncryptionKey(
	string pass,
	string devid,
	out ushort deviceIdHash
)

Parameters

pass
Type: SystemString
String containing the password for the token.
devid
Type: SystemString
String containing the Device ID/Serial Number for the token.
deviceIdHash
Type: SystemUInt16
Upon return, contains the hash value for the device ID.

Return Value

Type: Byte
An array of bytes containing the key.
See Also