Versions in this module Expand all Collapse all v0 v0.1.1 Sep 11, 2023 Changes in this version + type Decryptor interface + Decrypt func(ciphertext []byte) (plainByte []byte, err error) + DecryptString func(ciphertext []byte) (res string) + type Encryption interface + func NewAESEncryption(key string) Encryption + func NewBase32Encryption(key string) Encryption + func NewBase64Encryption(key string) Encryption + type Encryptor interface + Encrypt func(plain []byte) (ciphertext []byte, err error) + EncryptString func(ciphertext []byte) (res string)