cuing / crypto-js

Automatically exported from code.google.com/p/crypto-js
0 stars 0 forks source link

HMAC-SHA1 Produces different results in IE and Safari #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. compute has using Crypto.HMAC(Crypto.SHA1, "Message", "Key", { asBytes: true 
}); in IE
2. Repeat step (1) in Safari
3. Compare array of bytes

What is the expected output? What do you see instead?
Output should be the same, but they're different.

What version of the product are you using? On what operating system?
Windows Vista Home Edition, IE 8, Safari 5

Original issue reported on code.google.com by sergey.s...@gmail.com on 12 Nov 2010 at 5:02

GoogleCodeExporter commented 8 years ago
I couldn't reproduce the issue. Can you attach a full and working webpage that 
will reproduce the issue? Also, if you could, please run the test suite and let 
me know if it reports any errors. 
(http://code.google.com/p/crypto-js/source/browse/branches/2.0.x#2.0.x/test)

Original comment by Jeff.Mott.OR on 12 Nov 2010 at 6:11

GoogleCodeExporter commented 8 years ago
Please take a look at the attached sample.
Open CryptoTest.htm in IE and Safari and you'd see different outputs while
they must be the same (I assume)

Original comment by sergey.s...@gmail.com on 12 Nov 2010 at 6:29

GoogleCodeExporter commented 8 years ago
The attachment didn't seem to take. Can you try again?

Original comment by Jeff.Mott.OR on 12 Nov 2010 at 11:29

GoogleCodeExporter commented 8 years ago
Sorry, please find it attached.

Original comment by sergey.s...@gmail.com on 13 Nov 2010 at 12:10

Attachments:

GoogleCodeExporter commented 8 years ago
Unfortunately I still haven't been able to reproduce your results. Are there 
any more details about your setup or software versions that might be relevant?

Original comment by Jeff.Mott.OR on 16 Nov 2010 at 6:56

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by Jeff.Mott.OR on 7 Mar 2011 at 2:41