obfuscate_id
by namick
Rubypushed over 3 years ago
Make your ActiveRecord ids non-obvious. Mixes up record ids in a simple, reversible hashing algorithm so that it can then automatically revert the hashed number back to the original id for record lookup without having to store a hash or tag in the database.
AI summary
Id masker
Protects sequential ids by transforming them into random-looking numerical strings without changing the underlying record data
- stars
- 347
- forks
- 132
- watching
- 8
- awesome list
- 1
Featured in 1 awesome list
Each link jumps to the spot where the list mentions obfuscate_id.