Versions in this module Expand all Collapse all v0 v0.1.0 Jun 25, 2021 Changes in this version + type Crypto struct + func (c *Crypto) Decrypt(cipherText string) (string, error) + func (c *Crypto) Encrypt(plainText []byte) (string, error) + type Cryptographer interface + Decrypt func(cipherText string) (string, error) + Encrypt func(plaintext []byte) (string, error) + func NewCryptographer(key string) (Cryptographer, error)