summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.go b/main.go
index 52dbc04..7a7c553 100644
--- a/main.go
+++ b/main.go
@@ -43,8 +43,7 @@ type Data struct {
}
func (d Data) String() string {
- s := fmt.Sprintf("N: %x\n", d.Key.N)
- s += fmt.Sprintf("E: %x\n", d.Key.E)
+ s := fmt.Sprintf("N: %v\n", d.Key)
s += fmt.Sprintf("R: %x\n", d.Rnd)
s += fmt.Sprintf("D: %x\n", d.Data)
return s