Closed yjjnls closed 4 years ago
as mentioned, when I sigh data not 32bytes, it raises: "RangeError: message length is invalid"
you must hash the data you wish to sign first.
SHA256 is most commonly used.
as mentioned, when I sigh data not 32bytes, it raises: "RangeError: message length is invalid"