ecdsa-kotlin icon indicating copy to clipboard operation
ecdsa-kotlin copied to clipboard

SignData returning inconsistent number of bytes

Open piersonleo opened this issue 2 years ago • 0 comments

This code here:

val signature = EcSign.signData(keyPair, data, EcSha256)

From what I've tried this code returns varying size of both r and s bytes. Sometimes it returns 32, sometimes 33. r and s should return consistent 32 bytes

piersonleo avatar Jul 10 '22 12:07 piersonleo