README ¶ This package contains the common processes shared between the CLI and the Native Messaging Host RPC. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Decrypt(ciphertext io.Reader, plaintext io.Writer, key []byte) (*saltpack.MessageKeyInfo, error) func Encrypt(plaintext io.Reader, ciphertext io.Writer, encryptionKey []byte, ...) error type ErrInvalidKeySize Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Decrypt ¶ func Decrypt(ciphertext io.Reader, plaintext io.Writer, key []byte) (*saltpack.MessageKeyInfo, error) func Encrypt ¶ func Encrypt(plaintext io.Reader, ciphertext io.Writer, encryptionKey []byte, publicKeys [][]byte, armor bool) error Handle the encryption logic (seperately from the command logic) Types ¶ type ErrInvalidKeySize ¶ type ErrInvalidKeySize error Source Files ¶ View all Source files decrypt.go encrypt.go Click to show internal directories. Click to hide internal directories.