3 ms·
Is this different with other algorithms, such as the one implemented by libsodium?
by ma2rten 7y ago
Is this different with other algorithms, such as the one implemented by libsodium?
- commandlinefan 7y agoIt's different with all Diffie-Hellman key agreements (which I _think_ libsodium's key exchange API uses, although it's sort of difficult to tell for sure from the docs). Diffie-Hellman key agreements generate a new key on the fly and then throw it away so that there's nothing to compromise later.
- floatboth 7y agoYes, of course. It uses X25519 which is an elliptic curve Diffie-Hellman exchange.