I believe there's a comment around here that explains the algorithm. That will need to be updated as well, as it references the SHA-based algorithm.