Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptSenInfo ¶
func EncryptSenInfo ¶
Types ¶
type SenInfoEncryptor ¶
type SenInfoEncryptor struct {
// contains filtered or unexported fields
}
func NewFromStrKey ¶
func NewFromStrKey(keyStr string) (*SenInfoEncryptor, error)
func NewSenInfoEncryptor ¶
func NewSenInfoEncryptor(key []byte) (*SenInfoEncryptor, error)
func (*SenInfoEncryptor) Decrypt ¶
func (p *SenInfoEncryptor) Decrypt(encInfo string) (string, error)
func (*SenInfoEncryptor) Encrypt ¶
func (p *SenInfoEncryptor) Encrypt(info string) string
Click to show internal directories.
Click to hide internal directories.