Inter-process compatibility? #4
-
Does the library do some magic that would break in the event of inter-process communication between different clients/companies whom use their own libraries/implementations for encryption/decryption? The concrete case I'm wondering specifically about, is signing data with your |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Most functions, including everything in the The thing about Ed25519 in libsodium though is that the Hope that helps. Let me know if that didn't answer your question. |
Beta Was this translation helpful? Give feedback.
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 thepublicKey
. 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.