Open zhiqiangxu opened 3 months ago
Apparently there is no way. Rust bindings were originally put together with specific applications in mind, and I guess it wasn't originally a concern. And it wasn't an issue so far... Is it a general question or is there actual requirement for it?
@dot-asm For me, this is a genuine requirement. I'm somewhat surprised that the API differs between Go and Rust.
I fail to interpret the response unambiguously. It sill sounds more like a general question,as if you personally are genuinely surprised there is a difference. Is there an actual requirement in form of a protocol specification?
It's not crystally clear from the signatures alone here:
The golang version is much clearer and can be tuned here:
How to make sign do
EncodeToG2
instead ofHashToG2
in rust?