Currently, there is no way to generate deterministic ECDSA signatures with sign method (taking digested message). Only way is to use for example sign_sha256, which digests the message.
This is a problem in some Bitcoin scenarios where the message must be signed with a fixed digested message of 0x0000000000000000000000000000000000000000000000000000000000000001. I'd still like to sign it deterministically, but currently can't without resorting to private methods.
Currently, there is no way to generate deterministic ECDSA signatures with
sign
method (taking digested message). Only way is to use for examplesign_sha256
, which digests the message.This is a problem in some Bitcoin scenarios where the message must be signed with a fixed digested message of
0x0000000000000000000000000000000000000000000000000000000000000001
. I'd still like to sign it deterministically, but currently can't without resorting to private methods.