私钥
私钥是 256 位的二进制数,以 64 位 hex 显示,例如
9ba7174575a405a3cbbf67535c0b59019b474fd37ad6909fe6a97d3db39a14cd
public static byte[] privateKey() {
byte[] privateKey = new byte[32];
random.nextBytes(privateKey);
return privateKey;
}
私钥是 256 位的二进制数,以 64 位 hex 显示,例如
9ba7174575a405a3cbbf67535c0b59019b474fd37ad6909fe6a97d3db39a14cd
public static byte[] privateKey() {
byte[] privateKey = new byte[32];
random.nextBytes(privateKey);
return privateKey;
}