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

decrypt of ciphertext not working for strings #146

Open
GoogleCodeExporter opened this issue Apr 1, 2015 · 1 comment
Open

decrypt of ciphertext not working for strings #146

GoogleCodeExporter opened this issue Apr 1, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. See  http://jsfiddle.net/setj6r2y/

What is the expected output? What do you see instead?
Fails on 2nd decoding.


What version of the product are you using? On what operating system?
http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/aes.js

Please provide any additional information below.
http://jsfiddle.net/setj6r2y/

Original issue reported on code.google.com by randynwa...@gmail.com on 6 Jan 2015 at 7:00

@GoogleCodeExporter
Copy link
Author

Never mind.  Found problem.  Need to parse the string version first.

ciphertext = CryptoJS.enc.Hex.parse(String(encrypted.ciphertext))


Original comment by randynwa...@gmail.com on 6 Jan 2015 at 7:12

  • Added labels: ****
  • Removed labels: ****

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