We want, ney demand, a 'leasons learned' briefing! :)
What was the thing(s) you figured out, discovered or uncovered that allowed you to get the algorithm working?
Some vagueness or ambiguity in the spec? Some bit/byte ordering issues in the code?
What are the things that might trip up the next person who attempts this and finds themselves reading through this thread?