Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decrypter ¶
type Decrypter interface {
Decrypt(EncryptedContent) (PlainContent, error)
}
Decrypter will decrypt data using specified method
type EncryptedContent ¶
type EncryptedContent []byte
EncryptedContent typed version of byte array that holds encrypted data
type Encrypter ¶
type Encrypter interface {
Encrypt(rand io.Reader, pub keys.PublicKey, plain PlainContent) (EncryptedContent, error)
}
Encrypter will encrypt data using public key
type PlainContent ¶
type PlainContent []byte
PlainContent typed version of byte array that holds plain data
Click to show internal directories.
Click to hide internal directories.