摘要:
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 阅读全文
posted @ 2011-08-02 14:44
kristain
阅读(4230)
评论(0)
推荐(0)