Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AES Encrypted content cant' be decrypted by Java AES Decryptor & Vice Versa #29

Open
GoogleCodeExporter opened this issue Mar 12, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.Take java encryption/decryption code from 
http://www.java2s.com/Code/Java/Security/EncryptionanddecryptionwithAESECBPKCS7P
adding.htm

2. Use the key as "This isencryptor" & value to be encrypted as "My text to 
encrypt" without the quotes.

3.Compare the binary encrypted value from GWT-Crypto & Java2s Code (using debug 
mode)
4.Values should be grabbed before Base64/Hex Encodings.

What is the expected output? What do you see instead?
1) encrypted values are different (First 16 bytes are same, last 16 bytes are 
different)

2) Encrypted content of one mechanism cant be decrypted by the other one. (one 
mechanism being Java2s code , 2nd GWT-Crypto) 

What version of the product are you using? On what operating system?
using Windows 7, JDK1.6, gwt-crypto version 2.3.0

Please provide any additional information below.


Original issue reported on code.google.com by annu2...@gmail.com on 30 Jun 2014 at 8:55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant