Documentation ¶
Index ¶
- func Decrypt(ciphertextAndNounce []byte, keyBase64 string) (data []byte, err error)
- func Encrypt(data []byte, keyBase64 string) (ciphertext []byte, err error)
- func GenKey() string
- func GenRandBase32String(length int) string
- func GenToken() (token string, err error)
- func SimpleHash(text string) (out string)
- func SimpleHashB(text []byte) (out string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenRandBase32String ¶
func SimpleHash ¶
func SimpleHashB ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.