Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decrypt ¶
Decrypt decrypts data using 256-bit AES-GCM. This both hides the content of the data and provides a check that it hasn't been altered. Expects input form nonce|ciphertext|tag where '|' indicates concatenation.
func EncodeECDSAKey ¶
func EncodeECDSAKey(w io.Writer, key *ecdsa.PrivateKey) error
func Encrypt ¶
Encrypt encrypts data using 256-bit AES-GCM. This both hides the content of the data and provides a check that it hasn't been altered. Output takes the form nonce|ciphertext|tag where '|' indicates concatenation. source: https://github.com/gtank/cryptopasta/blob/master/encrypt.go (bc3a108a5776376aa811eea34b93383837994340)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.