witnet / vrf-rs

Verifiable Random Function (VRF) library written in Rust
MIT License
90 stars 37 forks source link

Public key derivation fails #23

Closed leahcornelius closed 3 years ago

leahcornelius commented 3 years ago

I am using https://crates.io/crates/secp256k1, to create secp2561k keypairs and then this lib to make VRF's around them. However, the public key derived using this lib is different from the one in secp2561k. Am I doing something wrong on my end?

leahcornelius commented 3 years ago

Apologies, was passing incorrect stuff to your functions. Sorry for the bother, have a pleasant evening!

aesedepece commented 3 years ago

No problem!