Skip to content

Inter-process compatibility? #4

Answered by samuel-lucas6
kikaragyozov asked this question in Q&A
Discussion options

You must be logged in to vote

Most functions, including everything in the Ed25519 class, call libsodium directly without doing anything special. Therefore, such functions should be compatible with other libsodium wrappers and correct implementations of the algorithms.

The thing about Ed25519 in libsodium though is that the privateKey actually includes the publicKey. This saves computation and helps prevent private key exposure from using an incorrect public key. Other libraries handle this issue differently or not at all, although this is quite a common technique.

Hope that helps. Let me know if that didn't answer your question.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kikaragyozov
Comment options

@samuel-lucas6
Comment options

Answer selected by kikaragyozov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3 on October 12, 2022 20:05.