You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encrypting with your own public key is equivalent to symmetric encryption.
So I assume you want to encrypt using another party's public key instead, and that other party will use its private key to decrypt the content.
Use the Noise N variant: https://github.com/jedisct1/libhydrogen/wiki/N-variant to get a shared key. Encrypt using that shared key, and wipe that shared key. That shared key can be later recovered using the initiator's public key and the receiver's secret key.
Hi again,
I read the doc, but I'm trying to do something customized.
I need:
I also need the reciprocity (something encoded with PRV is decryptable by the PUB)
Is it something I can do with your library?
Thanks,
The text was updated successfully, but these errors were encountered: