Documentation
¶
Index ¶
- func Decrypt(encText string, key string) (string, error)
- func DecryptByExpiredAt(encText string, key string, now int64) (bool, string, error)
- func Encrypt(text string, key string) (string, error)
- func EncryptByExpiredAt(text string, key string, expiredAt int64) (string, error)
- func ToMD5(str string) string
- func ToNumHash(str string) (uint32, error)
- func ToSHA256(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptByExpiredAt ¶
DecryptByExpiredAt ... 有効期限付き復号化
func EncryptByExpiredAt ¶
EncryptByExpiredAt ... 有効期限付き暗号化
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.