I’m currently attempting to code one for part of a college project – binary/hex handling and cryptographic functions are well regarded in the mark scheme, so I thought I’d kill two birds with one stone.
However, the documentation availible on the algorithm itself is thorough but confusing. Is there a prexisting PHP libary/class that I could take a look at, or is there a step by step explanation of the algorithm, and the variables it uses (T and X especially) somewhere?
Thanks
Get hold of a copy of Bruce Schneier’s Applied Cryptography. Although the source code is in C, he does provide an excellent background to the design principles and theory behind the algorithm.