Versions in this module Expand all Collapse all v1 v1.0.1 May 8, 2026 Changes in this version + type Cipher struct + func AddCipher(name string, block CipherFunc) *Cipher + func Default() *Cipher + func New() *Cipher + func WithCiphers(ciphers map[string]CipherFunc) *Cipher + func (this *Cipher) Add(name string, block CipherFunc) *Cipher + func (this *Cipher) Get(name string) (CipherFunc, error) + func (this *Cipher) With(ciphers map[string]CipherFunc) *Cipher + type CipherFunc = func([]byte) (cipher.Block, error) + func GetCipher(name string) (CipherFunc, error)