Encrypt multiple messages with sodium_crypto_box_seal using the same public key #1261
Unanswered
doMynation
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm a beginner in the realm of cryptography and I'd need some advice. I did quite a bit of research to familiarize myself with all the options available, and so far I narrowed it down to this fantastic library and
sodium_crypto_box_seal()
specifically. My use case is the following:Given the above, I have the following questions:
sodium_crypto_box_seal()
is, I'm assuming it's handling the nonce/IV/salt automatically for each encryption? Assuming that it the case, is it safe to use the same public key to encrypt many messages over time (bullet 2 above)?sodium_crypto_box_seal()
be updated to use them in a backward compatible fashion or would the library expose new functions in this case?sodium_crypto_box_seal_open()
. Is there some known construct/function I can use to speed up the process or should I just expect the operation to take a very long time?Thank you very much for taking the time to read this.
Beta Was this translation helpful? Give feedback.
All reactions