cryptocoinjs / secp256k1-node

Node.js binding for an Optimized C library for EC operations on curve secp256k1
Other
341 stars 120 forks source link

Size/length of a signature #150

Closed Mikerah closed 5 years ago

Mikerah commented 5 years ago

Is the size of a signature fix or variable length depending on the inputs? I know that, in theory, the size of an ECDSA signature is ~48 bytes but in practice can vary depending on how the signature is encoded.

For this library, what is the case?

junderw commented 5 years ago

64 bytes, 32 for both r and s values