Returns a signature of the hash provide.
Namespace: BasicCard.Crypto.ECAssembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)
Syntax
C# |
---|
public byte[] Sign(
byte[] PrivateKey,
byte[] Hash,
byte[] Rand
) |
Visual Basic |
---|
Public Function Sign (
PrivateKey As Byte(),
Hash As Byte(),
Rand As Byte()
) As Byte() |
Visual C++ |
---|
public:
virtual array<unsigned char>^ Sign(
array<unsigned char>^ PrivateKey,
array<unsigned char>^ Hash,
array<unsigned char>^ Rand
) sealed |
F# |
---|
abstract Sign :
PrivateKey : byte[] *
Hash : byte[] *
Rand : byte[] -> byte[]
override Sign :
PrivateKey : byte[] *
Hash : byte[] *
Rand : byte[] -> byte[] |
Parameters
- PrivateKey
- Type: array<System..::..Byte>[]()[][]
Private key.
- Hash
- Type: array<System..::..Byte>[]()[][]
Hash to sign.
- Rand
- Type: array<System..::..Byte>[]()[][]
Random data to use.
Return Value
Type:
array<Byte>[]()[][]Signature.
Implements
EllipticCurve..::..Sign(array<Byte>[]()[][], array<Byte>[]()[][], array<Byte>[]()[][])Remarks
Exceptions
See Also