Talk:XTEA
From Wikipedia, the free encyclopedia
[edit] This looks bad in Firefox 1.0
I don't know how this page looks in MSIE 5/6, but in Firefox 1.0, there is a problem with the layout: The source code for TEA overlaps the floating diagram in the upper right hand corner describing TEA. Samboy 11:16, 21 Jan 2005 (UTC)
-
- OK, in MSIE 5 it puts the text in question in its own scrollbox, complete with a scrollbar, so that it doesn't overlap. OK, I'm going to make this page look decent in both MSIE 5 and in Firefox 1.0 Samboy 10:29, 22 Jan 2005 (UTC)
-
-
- This is a bigger problem than I thought at first; the bug is in the code that the mediawiki software uses. I'll work around it, but this looks like something I should bring up to village pump. Samboy 07:26, 23 Jan 2005 (UTC)
-
[edit] About the initial value of sum
The example code for deciphering showed sum being initialized to a constant value (delta * 32).
If one looks in the xtea paper it becomes clear that the value sum should be initialized is in fact number of rounds times the delta constant. This means that the example code would only work for implementations with 32 rounds. I have fixed the code to take an additional parameter with the number of rounds, but I wanted to to explain the change too.
--- Joachim Strombergson