Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Algorand/IOG libsodium VRF implementation for node js? #314

Closed
gitmachtl opened this issue Mar 4, 2023 · 4 comments
Closed

Algorand/IOG libsodium VRF implementation for node js? #314

gitmachtl opened this issue Mar 4, 2023 · 4 comments

Comments

@gitmachtl
Copy link

Hi,

thank you for your hard work!

I am searching for a node js compatible libsodium lib, that has the signing/verification feature for VRF keys/prove included. Like Algorand and IOG is using. Does anyone know if such a lib exists, or could it be added to this one?

Thank you very much.

Best regards,
Martin

@gitmachtl gitmachtl changed the title Algorand/IOG libsoidum VRF implementation for node js? Algorand/IOG libsodium VRF implementation for node js? Mar 4, 2023
@jedisct1
Copy link
Owner

jedisct1 commented Mar 4, 2023

Try ecvrf maybe?

@gitmachtl
Copy link
Author

gitmachtl commented Mar 4, 2023

Try ecvrf maybe?

Hi, thx for the reply. No ecvrf is using a completly different VRF implementation than the Algorand/IOG implementation. I tried it a few hours ago. Here is a link to the Algorand/IOG c lib: https://github.com/algorand/vrf/blob/main/libsodium-vanilla-wrapper/vrf.c
And here is the IOG one: https://github.com/input-output-hk/libsodium/tree/draft-irtf-cfrg-vrf-03/src/libsodium/crypto_vrf/ietfdraft03

@gitmachtl
Copy link
Author

Its also related to: jedisct1/libsodium#1188

@jedisct1
Copy link
Owner

jedisct1 commented Mar 4, 2023

As you saw here, the specification is still a work in progress.

So it's not going to be merged in libsodium until it is finalized.

@jedisct1 jedisct1 closed this as completed Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants