Documentation ¶
Index ¶
- func AddPublicKeyToMap(username string, key string)
- func Decrypt(base64msg string) (*openpgp.MessageDetails, error)
- func DecryptMessage(base64msg string) (*openpgp.MessageDetails, *common.Message, error)
- func Encrypt(message string, users []string) (string, error)
- func EncryptMessage(msg common.Message) (string, error)
- func GetKeyMap() map[string]*openpgp.Entity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPublicKeyToMap ¶
func Decrypt ¶
func Decrypt(base64msg string) (*openpgp.MessageDetails, error)
Decrypts an unarmored base64 message XXX: DEPRICATED
func DecryptMessage ¶
Decrypts an Encrypted Message String using the gob protocol
func EncryptMessage ¶
Encrypts a message struct using the gob protocol
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.