Closed vincentiss closed 4 months ago
Do e2types use the same key derivation algorithm? blst.KeyGen()
implements one specified in "BLS Signatures" spec, in accordance to which it even accepts an optional parameter referred to as key_info
. In other words if e2types uses the same algorithm, you'd be required to pass the same key_info
parameter. And if it doesn't use the same algorithm, then blst.KeyGen()
is simply not the way to go. What is right is more likely for you to figure out.
Use this way new(blst.SecretKey).FromBEndian(sk)
will be same with https://github.com/herumi/bls-eth-go-binary
Dear all,
Below is my test code. I used this library.
Print results is
Why are the results different? And the correct result is "b35f5a41f73748a3ecc313028743a32b41956d7024f7a78cddf5a216f0b4db96b49a3159e127a003fb418a8ed75d991e".
Did I use it wrong?
Thank you very much.