code review rework #2

Changed HexDigit input param type from unsigned char to char.

Signed-off-by: Olivier Langlois <olivier@olivierlanglois.net>