Documentation ¶
Overview ¶
* Arc - Copyleft of Simone 'evilsocket' Margaritelli. * evilsocket at protonmail dot com * https://www.evilsocket.net/ * * See LICENSE.
* Arc - Copyleft of Simone 'evilsocket' Margaritelli. * evilsocket at protonmail dot com * https://www.evilsocket.net/ * * See LICENSE.
* Arc - Copyleft of Simone 'evilsocket' Margaritelli. * evilsocket at protonmail dot com * https://www.evilsocket.net/ * * See LICENSE.
Index ¶
- Constants
- Variables
- func Encrypt(message string) (err error, ciphertext string)
- func EncryptStream(r io.Reader, w io.Writer) error
- func GenerateKeys(private, public string) error
- func LoadKey(filename string, private bool) error
- func SaveKey(out io.Writer, key *rsa.PrivateKey, private bool) (err error)
- func Setup(pgp *config.PGPConfig) error
Constants ¶
View Source
const RSA_BITS = 4096
Variables ¶
View Source
var ( // Server private key. PrivateKey = (*packet.PrivateKey)(nil) // Recipient public key. PublicKey = (*packet.PublicKey)(nil) )
Functions ¶
func GenerateKeys ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.