Documentation
¶
Index ¶
- func Base64Decode(str string) string
- func Base64Encode(str string) string
- func Decrypt(encryptedMessage string, sk string) string
- func DecryptByte(encryptedMessage []byte, sk []byte) string
- func Encrypt(message string, ak string) string
- func EncryptByte(message []byte, ak []byte) []byte
- func GenerateKeyPair() (public_key, private_key string)
- func GenerateKeyPairByte() ([]byte, []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
Base64Decode decodes a base64 encoded string
func Base64Encode ¶
func DecryptByte ¶
func EncryptByte ¶
func GenerateKeyPair ¶
func GenerateKeyPair() (public_key, private_key string)
func GenerateKeyPairByte ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.