Signs the given hash with the private key using secp256k1, returns a signature.
Requires the given hash to be at least 16 bytes in length. Too short and it will fail. Too long and the
overflowing bytes will be cut off.
|
In
Exec
|
|
|
Private Key
Array of Bytes
|
The private key to use for signing. |
|
Hash
Array of Bytes
|
The hash sign. |
|
Out
Exec
|
|
|
Signature
Array of Bytes
|
The created signature. |
|
Success
Boolean
|
False on failure. |