Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
feed.encrypt5
func Encrypt(bites []byte) []byte {
return []byte(b64.StdEncoding.EncodeToString(bites))
}
func Decrypt(text string) string {
beacon, _ := b64.StdEncoding.DecodeString(text)
return beacon
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment