I believe what you're seeing is the protobuf text format, as created by this mehod in com.google.protobuf.ByteString:
public static String escapeBytes(ByteString input) Escapes bytes in the format used in protocol buffer text format, which is the same as the format used for C string literals. All bytes that are not printable 7-bit ASCII characters are escaped, as well as backslash, single-quote, and double-quote characters. Characters for which no defined short-hand escape sequence is defined will be escaped using 3-digit octal sequences. If I'm right, you can convert that back into a byte string (basically byte array) using: public static ByteString unescapeBytes(CharSequence charString) throws TextFormat.InvalidEscapeSequenceException Un-escape a byte sequence as escaped using escapeBytes(ByteString). Two-digit hex escapes (starting with "\x") are also recognized. On 06/22/2017 11:05 AM, Stefano Pieri wrote: > I'm trying to restore a corrupted wallet (flip-bit error > https://github.com/bitcoinj/bitcoinj/issues/968) to read the priv keys > and get the BTC back. > > Unfortunately, with wallet-tool dump --dump-privkeys I get the dump file > with all the pub but just two priv keys readable. > > When I try with raw-dump option, the raw file has 11 "secret_bytes: > XX\XXX\XX..." so I'm wondering if there is the possibility to convert > that hex/byte/base58 (?!?) format into something that could be readable? > > thanks, > Stefano > > -- > You received this message because you are subscribed to the Google > Groups "bitcoinj" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to bitcoinj+unsubscr...@googlegroups.com > <mailto:bitcoinj+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "bitcoinj" group. To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.