Light day at work, so I'm trying to learn about the difference between passwords (as applies to accounts with websites) and passkeys, which I've only just started hearing about.
At the moment, I still don't get it.
I understand the basic concept I've seen explained so far, but it doesn't do anything to help me understand how it's any better than passwords. If a website is hacked or inappropriately accessed, if they have your public key, which is compared to a lock, I don't see how they can't reverse engineer your private key, which is compared to a key for the lock.
Something about one-way math, which I've never heard of, cryptography, which I know nothing about, and I'm also starting to think that maybe the key/lock example is just a bad one, because the analogy fails exactly where a proponent wouldn't want it to, i.e., that hacking the public key doesn't lead to reverse engineering your private key, which any decent machinist could do with access to the lock.
Anyway, I'm not much wiser about it than before I started reading about it.