Utility Classes

class EncryptedMessage

A bytes subclass that holds a message that has been encrypted by a SecretBox or Box. The full content of the bytes object is the combined nonce and ciphertext.

nonce

The nonce used during the encryption of the EncryptedMessage.

ciphertext

The ciphertext contained within the EncryptedMessage.