Fixing a problem with the hex conversion of the public key.