crystalline/Paintroom-js — pull request #1 by iamtakingiteasy (2014-05-19 17:41:50+00:00)
Title: Proposal for LCG-based ID generator

Consider this LCG-based generator for your ids, as it provides stable, convertible to decimal (and thus easily and compactly persistable) and unique values across whole LCG boundaries.

More info: http://en.wikipedia.org/wiki/Linear_congruential_generator