package
Version:
v0.16.3
Opens a new window with list of versions in this module.
Published: Jan 31, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CiphMsg struct {
LocalPK [32]byte
Nonce [32]byte
Ctext []byte
}
CiphMsg is an enciphered message.
PlainMsg is a plaintext message.
NewPlainMsg constructs a plain message.
Encrypt encrypts a PlainMsg to be decoded by someone holding the secret key to remotePK.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.