import org.bitcoinj.core.Base58; public class Base58Example { public static void main(String[] args) { byte[] data = new byte[] {0x11, 0x22, 0x33, 0x44}; String encoded = Base58.encode(data); System.out.println("Encoded: " + encoded); byte[] decoded = Base58.decode(encoded); System.out.print("Decoded: "); for (byte b : decoded) { System.out.print(String.format("%02X ", b)); } } }


上一篇:
下一篇:
切换中文