aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-04-14 18:24:23 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-04-14 18:24:23 +0200
commit23cdde3d53d400643521f863e313d5b3efca0108 (patch)
tree42bb5c0041342c82efab716c1182a9d840a0423d /main.go
parente9b8a2ef2b5faf2a251665868074e1dc99f01eb5 (diff)
Move around
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 4027a5a..bf50d90 100644
--- a/main.go
+++ b/main.go
@@ -57,6 +57,6 @@ func main() {
PKAlg: PKAlg,
}
rand.Read(ss.KeyNum[:])
- ms, _ := EncodeB64(ss)
+ ms, _ := Marshal(ss)
fmt.Println(string(ms))
}