Quantcast
Viewing all articles
Browse latest Browse all 3

Answer by tolerious for Object not showing in DetailView when using a uuid as primary key

Why not just encrypt the normal sequential ids instead? To someone who doesn't know the encryption key, the ids will seem just as random. You can write a wrapper that automatically decrypts the ID on the way to the DB, and encrypts it on the way from the DB. I think this is a good way to solve your problem, and only you know the encrypt or the decrypts algorithm.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>