Versions in this module Expand all Collapse all v0 v0.2.0 Nov 20, 2022 v0.1.0 Nov 16, 2022 Changes in this version + type Crypto struct + func New() *Crypto + func (c *Crypto) Decrypt(data []byte) ([]byte, error) + func (c *Crypto) DecryptString(text string) (string, error) + func (c *Crypto) Encrypt(data []byte) ([]byte, error) + func (c *Crypto) EncryptString(text string) (string, error) + func (c *Crypto) SetKey(key string) error