I want to make a database where I can put ten-digit numbers and it will record it however just by looking at it no one should be able to say what was entered in it. Using that database one should only be able to determine whether a given database has a number more than 1000 times given rmgd.

  • This sounds like an application for storing a hash like SHA-2 or similar instead of the actual value. Of course, if the possible numbers could be brute forced then it might not be enough, but this might be fixed with a secret seed only known to the application and not stored in the DB. – Steffen Ullrich Apr 6 at 17:00
  • And if I make 9,999,999,999 queries, I can recreate the database. And if I can check for the value, then I know the value is in it. I'm not sure what your need is, and I'm not sure that this is a security question. – schroeder Apr 6 at 19:42
  • Your stated desire is that the stored values cannot be read. How is encryption not sufficient? – schroeder Apr 6 at 19:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.