Closed artwyman closed 8 months ago
Signatures are packed into 64 bytes using the same format as circomlibjs. Unit tests confirm the compatibility of output.
There's a TODO in place for one more unit test I'd like to add after #200 lands and fixes the ability to accept signatures in numeric form.
The unpackSignature function returns a Signature<string>. If #199 gets accepted and implemented, it should change to return Signature<bigint>.
Signature<string>
Signature<bigint>
@artwyman Do you want to wait for #199 before merging this?
No, go ahead and merge this one and I'll build my PR on top of it.
Description
Signatures are packed into 64 bytes using the same format as circomlibjs. Unit tests confirm the compatibility of output.
Other information
There's a TODO in place for one more unit test I'd like to add after #200 lands and fixes the ability to accept signatures in numeric form.
The unpackSignature function returns a
Signature<string>
. If #199 gets accepted and implemented, it should change to returnSignature<bigint>
.