Documentation
¶
Index ¶
- func Decrypt(data []byte) ([]byte, error)
- func DecryptS(ptype string, val sql.NullString, data []byte, clear bool) (string, error)
- func DecryptVariable(v *sdk.Variable) error
- func Encrypt(data []byte) ([]byte, error)
- func EncryptS(ptype string, value string) (sql.NullString, []byte, error)
- func Init(cipherKey string)
- type Secret
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptS ¶
DecryptS wrap Decrypt and: - return Placeholder instead of value if not needed - cast returned value in string
func DecryptVariable ¶
DecryptVariable decrypts variable value using aes+hmac algorithm
Types ¶
Click to show internal directories.
Click to hide internal directories.