Well, I guess publishing it can only benefit other people. I'll post the key in another play journal entry. Until then, here's the algorithm itself.