Documentation ¶ Index ¶ func Decrypt(rawCipher string) string func Encrypt(text string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Decrypt ¶ func Decrypt(rawCipher string) string func Encrypt ¶ func Encrypt(text string) string Encrypt Generates the ciphertext for the given string. If the encryption fails, the original characters will be returned. If the passed string is empty, return empty directly. Types ¶ This section is empty. Source Files ¶ View all Source files encrypt.go Click to show internal directories. Click to hide internal directories.