Tidy up constructor args checking.
Ignore whitespace better in doCalculateChecksum().

Step over space characters when transforming to numeric instead of compiling
regex, making a preparation pass and allocating a scrubbed string.