Simple hexadecimal digest translation method for binary input

- Include test case from previous work re: encoding, etc.