比特币私钥、公钥、地址

私钥

私钥是 256 位的二进制数,以 64 位 hex 显示,例如
9ba7174575a405a3cbbf67535c0b59019b474fd37ad6909fe6a97d3db39a14cd

public static byte[] privateKey() {
    byte[] privateKey = new byte[32];
    random.nextBytes(privateKey);
    return privateKey;
}

猜你喜欢

转载自www.cnblogs.com/ppcoin/p/9141038.html
今日推荐