Do we really need 500 of them here *and* below, when we're just checking for a string length and whether chars are in the 0-1A-Fa-f range?