Fixed bug in convertion from hexchar to char
Fixed bug in base64ToHex