Signature of data, using the installed
random number generator RNG.
Namespace: BasicCard.Crypto.ECAssembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)
Syntax
C# |
---|
byte[] HashAndSign(
byte[] PrivateKey,
byte[] data
) |
Visual Basic |
---|
Function HashAndSign (
PrivateKey As Byte(),
data As Byte()
) As Byte() |
Visual C++ |
---|
array<unsigned char>^ HashAndSign(
array<unsigned char>^ PrivateKey,
array<unsigned char>^ data
) |
F# |
---|
abstract HashAndSign :
PrivateKey : byte[] *
data : byte[] -> byte[]
|
Parameters
- PrivateKey
- Type: array<System..::..Byte>[]()[][]
Private key.
- data
- Type: array<System..::..Byte>[]()[][]
Data to sign.
Return Value
Type:
array<Byte>[]()[][]Signature.
Exceptions
See Also