Documentation ¶
Index ¶
- Variables
- func Decode(content, salt []byte) ([]byte, error)
- func DecodeFromHexString(hexStr HexString, salt []byte) ([]byte, error)
- func DecodeFromHexStringToString(hexStr HexString, salt []byte) (string, error)
- func Encode(plain, salt []byte) ([]byte, error)
- func Sha256(content []byte) []byte
- type HexString
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Salt = env.Get(env.StepinDatabaseSalt, "stepin is salty, like ocean-favor potato chips") Password = env.Get(env.StepinDatabasePassword, "123456") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.