wbasmayor/masked_id — pull request #1 by tganzarolli (2012-11-09 18:52:41+00:00)
Title: Fix and improvement

I couldn't use your library due to some require issues and documentation apparent mistakes. So, my first two commits where regarding that.Afterwards, I used a minimal perfect hash function from another library to ensure the uniqueness of the mask and that it could be consistent between calls. What I mean is: because you were using the objject_id to scramble the original_id, it would change all the time. Instead what you get now is a pseudo random value, respecting a spin value defined in the model.

This spin part is where it needs some further work. Probably a default could be defined in the library itself.