FINALLY. Managed to decrypt the example sentence. Turns out I was messing something up while chopping up the array, which caused all the other algorithms to deal with nonsense and spit out nonsense and just GRAAAH. Anyway, it works now. On the small text I already have the key to, at least.