Blockchain, Cryptography, Bitcoin.
other and keep their private keys with themselves. Alice sends an encrypted message to Bob using Bob’s public key and Alice’s private key. Now when Bob receives the message, he uses Alice’s public key to ensure that the message is from Alice(only the public key of Alice can decrypt the message