diff --git a/ethereum.go b/ethereum.go
index bf379184f2ed62cbdd9d3dcda95a0c308b9691e1..4584ff85c5e83d134913ab917ee0390c9d84b479 100644
--- a/ethereum.go
+++ b/ethereum.go
@@ -36,9 +36,9 @@ func CreateKeyPair(force bool) {
 
 		pub, prv := secp256k1.GenerateKeyPair()
 
-		log.Printf("Your new address is %x\n", pub[12:])
+		log.Printf("Your new address is %x\n", ethutil.Sha3Bin(pub)[12:])
 
-		ethutil.Config.Db.Put([]byte("KeyRing"), ethutil.Encode([]interface{}{prv, pub}))
+		ethutil.Config.Db.Put([]byte("KeyRing"), ethutil.Encode([]interface{}{prv, ethutil.Sha3Bin(pub)[12:]}))
 	}
 }