摘要:import java.security.*;import javax.crypto.Cipher;import javax.crypto.KeyGenerator;public class PrivateKey { public static void main(String[] args) throws Exception { String before = "kristain"; byte[] plainText = before.getBytes("UTF-8"); //得到一个使用AES算法的KeyGenerator的实例; KeyGenera
阅读全文
文章分类 - 加密技术