0
String seedValue = "This Is MySecure";
String normalText = "Password";
normalTextEnc = AESHelper.encrypt(seedValue, normalText);
System.out.println("encrypt"+normalTextEnc);
當我再次運行此代碼時,它給了我另一個加密文本。 我怎樣才能得到相同的加密文本?如何獲得相同的加密文本?
見http://stackoverflow.com/questions/24701068/what-makes-aes-with-base64-generate-different-encryption-result-for-the-same-pla – squeeish 2015-03-25 05:03:01