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.
Role in this project:
Back-end Developer Contributions:3 releases, 62 commits, 6 PRs in 3 years 3 months
Contributions summary:Nathan primarily focused on implementing features related to obfuscating ActiveRecord IDs within a Rails application. Their contributions included adding methods to update `find` and `to_param` methods to support ID obfuscation. The user also added a hashing mechanism with a scatter-swap algorithm, demonstrating a focus on developing core functionality. This work involved modifying models, controllers, routes, and views to integrate the ID obfuscation logic.
activerecorddatabasehashing-algorithm
Contributions:2 PRs in 5 years 6 months
javascriptnodejselectron