摘要:
public static void main(String[] args) { try { String plainText = "duwenlei"; KeyPairGenerator keyPairGenerator = KeyPair... 阅读全文
摘要:
SecureRandom sr = new SecureRandom();byte[] bytes = new byte[8];bytes = sr.generateSeed(8);System.out.println(new String(Hex.encode(bytes)));其中Hex.eco... 阅读全文