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

Question about resolving did:key to both ed25519 and x25519 #42

Open
TheButlah opened this issue Aug 21, 2023 · 0 comments
Open

Question about resolving did:key to both ed25519 and x25519 #42

TheButlah opened this issue Aug 21, 2023 · 0 comments

Comments

@TheButlah
Copy link

TheButlah commented Aug 21, 2023

I have been reading the code and saw this: https://docs.rs/did-key/latest/src/did_key/ed25519.rs.html#40
The bitwise operations appear to be from here:
Screenshot 2023-08-21 at 3 37 17 AM
Is there a function perhaps in curve25519-dalek that performs this same stuff?

And for the SHA-512 hash, I could not find reference to that in the did-key or OSCORE spec. Where does that come from?

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

1 participant