Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cryptographer ¶
type Cryptographer interface { Encrypt(plaintext []byte) (string, error) Decrypt(cipherText string) (string, error) }
func NewCryptographer ¶
func NewCryptographer(key string) (Cryptographer, error)
Click to show internal directories.
Click to hide internal directories.