Documentation ¶
Index ¶
- func RecoveryPanicAsError() func(err error)
- type DefaultAES
- func (c *DefaultAES) Decrypt(message string) (a string, err error)
- func (c *DefaultAES) DecryptWrapper(message string) (a string, err error)
- func (c *DefaultAES) Encrypt(message string) (a string, err error)
- func (c *DefaultAES) EncryptWrapper(message string) (a string, err error)
- func (c *DefaultAES) GetConfig() config.Config
- type Encryptor
- type PBEWithAES
- func (c *PBEWithAES) Decrypt(message string) (a string, err error)
- func (c *PBEWithAES) DecryptWrapper(message string) (a string, err error)
- func (c *PBEWithAES) Encrypt(message string) (a string, err error)
- func (c *PBEWithAES) EncryptWrapper(message string) (a string, err error)
- func (c *PBEWithAES) GetConfig() config.Config
- type PBEWithDES
- func (c *PBEWithDES) Decrypt(message string) (a string, err error)
- func (c *PBEWithDES) DecryptWrapper(message string) (a string, err error)
- func (c *PBEWithDES) Encrypt(message string) (a string, err error)
- func (c *PBEWithDES) EncryptWrapper(message string) (a string, err error)
- func (c *PBEWithDES) GetConfig() config.Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecoveryPanicAsError ¶ added in v1.0.4
func RecoveryPanicAsError() func(err error)
Types ¶
type DefaultAES ¶
func NewDefaultAES ¶
func NewDefaultAES(conf config.Config) *DefaultAES
func (*DefaultAES) DecryptWrapper ¶
func (c *DefaultAES) DecryptWrapper(message string) (a string, err error)
func (*DefaultAES) EncryptWrapper ¶
func (c *DefaultAES) EncryptWrapper(message string) (a string, err error)
func (*DefaultAES) GetConfig ¶
func (c *DefaultAES) GetConfig() config.Config
type PBEWithAES ¶
func NewPBEWithAES ¶
func NewPBEWithAES(conf config.Config) *PBEWithAES
func (*PBEWithAES) DecryptWrapper ¶
func (c *PBEWithAES) DecryptWrapper(message string) (a string, err error)
func (*PBEWithAES) EncryptWrapper ¶
func (c *PBEWithAES) EncryptWrapper(message string) (a string, err error)
func (*PBEWithAES) GetConfig ¶
func (c *PBEWithAES) GetConfig() config.Config
type PBEWithDES ¶
func NewPBEWithDES ¶
func NewPBEWithDES(conf config.Config) *PBEWithDES
func (*PBEWithDES) DecryptWrapper ¶
func (c *PBEWithDES) DecryptWrapper(message string) (a string, err error)
func (*PBEWithDES) EncryptWrapper ¶
func (c *PBEWithDES) EncryptWrapper(message string) (a string, err error)
func (*PBEWithDES) GetConfig ¶
func (c *PBEWithDES) GetConfig() config.Config
Click to show internal directories.
Click to hide internal directories.