Hacker News new | past | comments | ask | show | jobs | submit login

When I start building stuff, I'm going to make the serial number random and keep a database with serial<>manufacturing data. All to keep my Evil Competitors from gleaning any useful information!



You don't need a database, just a mapping function and a seed. I haven't seen anyone else do this, but I worked out a solution a while back.


It'd need to be a symmetric function that appears at least pseudo-random, any suggestions for suitable candidates? But I'd probably have a database with assorted data about the production anyway, so adding a random serial number wouldn't make much of a practical difference.


Any symmetric cipher (e.g. DES, AES, Blowfish, countless others) would work.


Ah, of course!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: