Is it possible to generate a unique hexadecimal hash from a string in LaTeX? It does not have to be cryptographic, so it doesn't matter if it is reversible. For example:
input: 2018013001
output: 78486F49
To explain my usecase: I would like to generate an unique identifier for my invoices. It should be generated out of a string containing the actual date and a number.

