New functions, return hex rather than bytes
