Documentation
¶
Index ¶
- func Decrypt(crypted, key []byte) ([]byte, error)
- func DecryptFromBase64(data string, key []byte) ([]byte, error)
- func Encrypt(origData, key []byte) ([]byte, error)
- func EncryptToBase64(origData, key []byte) (string, error)
- func PKCS5Padding(plaintext []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
- func RawMap(db *gorm.DB, sqlQuery string, sqlValues ...interface{}) (result []map[string]string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncryptToBase64 ¶
func PKCS5Padding ¶
func PKCS5UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.