you would need to implement the FNV1 hash and the variant used by DocC, possibly using the code i linked as inspiration.