Signature of data, using specified random.

Namespace: BasicCard.Crypto.EC
Assembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)

Syntax

C#
byte[] HashAndSign(
	byte[] PrivateKey,
	byte[] data,
	byte[] rand
)
Visual Basic
Function HashAndSign ( 
	PrivateKey As Byte(),
	data As Byte(),
	rand As Byte()
) As Byte()
Visual C++
array<unsigned char>^ HashAndSign(
	array<unsigned char>^ PrivateKey, 
	array<unsigned char>^ data, 
	array<unsigned char>^ rand
)
F#
abstract HashAndSign : 
        PrivateKey : byte[] * 
        data : byte[] * 
        rand : byte[] -> byte[] 

Parameters

PrivateKey
Type: array<System..::..Byte>[]()[][]
Private key.
data
Type: array<System..::..Byte>[]()[][]
Data to sign.
rand
Type: array<System..::..Byte>[]()[][]
Random data to use.

Return Value

Type: array<Byte>[]()[][]
Signature.

Exceptions

See Also