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