| 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
)
Protected Function GetEncryptionKey (
pass As String,
devid As String,
<OutAttribute> ByRef deviceIdHash As UShort
) As Byte()
protected:
array<unsigned char>^ GetEncryptionKey(
String^ pass,
String^ devid,
[OutAttribute] unsigned short% deviceIdHash
)
member GetEncryptionKey :
pass : string *
devid : string *
deviceIdHash : uint16 byref -> byte[]
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:
ByteAn array of bytes containing the key.
See Also