I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit ab8d9bb7 authored by zzz's avatar zzz
Browse files

* PrivateKeyFile: Add b32 output

parent 25eaf8ca
No related branches found
No related tags found
No related merge requests found
...@@ -267,6 +267,8 @@ public class PrivateKeyFile { ...@@ -267,6 +267,8 @@ public class PrivateKeyFile {
StringBuilder s = new StringBuilder(128); StringBuilder s = new StringBuilder(128);
s.append("Dest: "); s.append("Dest: ");
s.append(this.dest != null ? this.dest.toBase64() : "null"); s.append(this.dest != null ? this.dest.toBase64() : "null");
s.append("\nB32: ");
s.append(this.dest != null ? Base32.encode(this.dest.calculateHash().getData()) + ".b32.i2p" : "null");
s.append("\nContains: "); s.append("\nContains: ");
s.append(this.dest); s.append(this.dest);
s.append("\nPrivate Key: "); s.append("\nPrivate Key: ");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment