Versions in this module Expand all Collapse all v0 v0.1.1 Nov 16, 2022 v0.1.0 Nov 2, 2022 Changes in this version + var ErrInvalidPasswordSize = errors.New("invalid password size") + type Cipher struct + func New(password string) (*Cipher, error) + func (c Cipher) Decrypt(ciphertext []byte) ([]byte, error) + func (c Cipher) Encrypt(plaintext []byte) ([]byte, error)