Hacker News new | ask | show | jobs
by web007 2351 days ago
How do you validate the passcode if you're not storing it or a hashed version of it on the device?
2 comments

For example if you encrypt your disk or a file using a password, you also do not store a hash, the decryption/encryption key is derived from your password using a key derivation function such as https://en.wikipedia.org/wiki/Scrypt