Skip to content

Instantly share code, notes, and snippets.

@benjojo
Last active December 24, 2015 07:59
Show Gist options
  • Save benjojo/6767735 to your computer and use it in GitHub Desktop.
Save benjojo/6767735 to your computer and use it in GitHub Desktop.
ggggggg
package main
import (
b32 "encoding/base32"
"fmt"
"os"
s "strings"
)
func main() {
orig := "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567="
gggg := "ǴǵĞğǦǧĢģĜĝĠġƓɠʛḠḡGgǤǥɢɡ?! .,;'`:="
data := os.Args[1]
sEnc := b32.StdEncoding.EncodeToString([]byte(data))
fmt.Println(sEnc)
FinishedProduct := ""
for _, c := range sEnc {
boop := s.Index(orig, string(c))
FinishedProduct += string(gggg[boop])
}
fmt.Println(FinishedProduct)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment