forked from: Hash unique ID generator

