Signs the given hash deterministically 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 to sign. |
|
Digest Type Ecdsa
EWeb3S_DigestTypeEcdsa Enum
|
Type of the hash function used in hashing the message. |
|
Out
Exec
|
|
|
Signature
Array of Bytes
|
The created signature. |
|
Success
Boolean
|
False on failure. |