Added function to convert hexadecimal bytestring to decimal bytestring