• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Secure way to store data...

I don't know if a package is available already but if you get hold of an algorithm which implements "MD5", you can use that to convert your key to be stored, and then when comparing later use it to convert what you're going to be comparing, and compare the results. If they're the same, then the keys match.

MD5 is non-reversible, so you can't get back to the original key from the MD5'd version. But you didn't say you wanted to do that, so there we go.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones