summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-09-15 19:43:43 +0300
committerDimitri Sokolyuk <demon@dim13.org>2015-09-15 19:43:43 +0300
commit9ae9b4ee3382bf5f8baedf22bcd957faa474fb43 (patch)
tree5bbf9f5ad806b870e593c6db4db3ce3e61df1e4e
parentf924762c9f6844956b5e6d98e0b18c72bc2a5bcd (diff)
Hex view
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 74bef24..52dbc04 100644
--- a/main.go
+++ b/main.go
@@ -43,8 +43,8 @@ type Data struct {
}
func (d Data) String() string {
- s := fmt.Sprintf("N: %v\n", d.Key.N)
- s += fmt.Sprintf("E: %v\n", d.Key.E)
+ s := fmt.Sprintf("N: %x\n", d.Key.N)
+ s += fmt.Sprintf("E: %x\n", d.Key.E)
s += fmt.Sprintf("R: %x\n", d.Rnd)
s += fmt.Sprintf("D: %x\n", d.Data)
return s