Interesting, but why does the "Check" use a handmade hashing algorithm that is just summing up all bytes?
A much safer implementation would be to take the sha256 of the key and only show the 2 rightmost bytes.
A much safer implementation would be to take the sha256 of the key and only show the 2 rightmost bytes.