Crate sealed_box[][src]

Structs

KeyPair

A key pair

Enums

Error

Constants

ABYTES

Number of additional bytes in a ciphertext compared to the corresponding plaintext

Functions

open

Decrypt a ciphertext ciphertext using the key pair kp

seal

Encrypt a message msg for a peer whoose public key is peer_pk

Type Definitions

PublicKey

Alias for a public key

SecretKey

Alias for a secret key