Versions in this module Expand all Collapse all v1 v1.3.9 May 20, 2024 Changes in this version + const MagicKey + func MagicKeyDecode(data []byte) []byte + func MagicKeyEncode(data []byte) []byte + func RecoverMethodPanic(err interface{}) error + type AES128CFBMethod struct + func (this *AES128CFBMethod) Decrypt(dst []byte) (src []byte, err error) + func (this *AES128CFBMethod) Encrypt(src []byte) (dst []byte, err error) + func (this *AES128CFBMethod) Init(key, iv []byte) error + type AES192CFBMethod struct + func (this *AES192CFBMethod) Decrypt(dst []byte) (src []byte, err error) + func (this *AES192CFBMethod) Encrypt(src []byte) (dst []byte, err error) + func (this *AES192CFBMethod) Init(key, iv []byte) error + type AES256CFBMethod struct + func (this *AES256CFBMethod) Decrypt(dst []byte) (src []byte, err error) + func (this *AES256CFBMethod) Encrypt(src []byte) (dst []byte, err error) + func (this *AES256CFBMethod) Init(key, iv []byte) error + type MethodInterface interface + Decrypt func(dst []byte) (src []byte, err error) + Encrypt func(src []byte) (dst []byte, err error) + Init func(key []byte, iv []byte) error + func NewMethodInstance(method string, key string, iv string) (MethodInterface, error) + type RawMethod struct + func (this *RawMethod) Decrypt(dst []byte) (src []byte, err error) + func (this *RawMethod) Encrypt(src []byte) (dst []byte, err error) + func (this *RawMethod) Init(key, iv []byte) error