Permalink
Cannot retrieve contributors at this time
8 lines (7 sloc)
168 Bytes
|
package main |
|
import b64 "encoding/base64" |
|
|
|
func main() { |
|
data := "base64 encoded string" |
|
sEnc := b64.StdEncoding.EncodeToString([]byte(data)) |
|
fmt.Println(sEnc) |
|
} |
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.