Updated digestion algorithm.
I should also salt this in the future!