Crate sealed_box
source ·Structs
- A key pair
Enums
Constants
- Number of additional bytes in a ciphertext compared to the corresponding plaintext
Functions
- Decrypt a ciphertext
ciphertext
using the key pairkp
- Encrypt a message
msg
for a peer whoose public key ispeer_pk
Type Definitions
- Alias for a public key
- Alias for a secret key
- Alias for a seed