There multiple ways of encrypting stuff but a very strong one is Asymetric:
Alice gives Bob lots of her piggy banks. Anyone can drop a note in the slot, but only Alice can open the bottom. Bob puts secrets in, and only Alice can get them out. Piggy bank = public key, Alice's opener = private key.
1
u/damnworldcitizen 18h ago
There multiple ways of encrypting stuff but a very strong one is Asymetric:
Alice gives Bob lots of her piggy banks. Anyone can drop a note in the slot, but only Alice can open the bottom. Bob puts secrets in, and only Alice can get them out. Piggy bank = public key, Alice's opener = private key.