Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
Base64Decode returns the bytes represented by base64 src
func Base64Encode ¶
Base64Encode returns a custom base64 encoding of src. If the size of src is not a multiple of 8, src will be padded with \x00 bytes
func Decrypt ¶
Decrypt returns the given message decrypted using key. If message does not have any encryption prefix, the message is returned unmodified.
func Encrypt ¶
Encrypt returns the given message encrypted using key. If the size of message is not a multiple of 8, message will be padded with \x00 bytes.
func IsEncrypted ¶
IsEncrypted returns true if the s has a valid encryption prefix.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.