Documentation ¶
Index ¶
- func Decrypt(crypted []byte) ([]byte, error)
- func DecryptAccount(a *model.EncryptAccount) (res *model.OriginAccount)
- func Encrypt(origData []byte) ([]byte, error)
- func EncryptAccount(a *model.OriginAccount) (res *model.EncryptAccount)
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptAccount ¶
func DecryptAccount(a *model.EncryptAccount) (res *model.OriginAccount)
DecryptAccount Decrypt Account
func EncryptAccount ¶
func EncryptAccount(a *model.OriginAccount) (res *model.EncryptAccount)
EncryptAccount Encrypt Account
Types ¶
Click to show internal directories.
Click to hide internal directories.