How Does Trent Send a Cipher Message to Bob, Alice and Carol, And Not Know What Reads the Message?

--

Let’s say that the Trent wants to send Bob, Alice and Carol a secret message, but where Trent cannot determine who will actually read the message. In this case we will generate key pairs for Bob, Alice and Carol, and Trent will encrypt a message for them. We will then use one of the private keys to decrypt the encrypted message with the private key of either Bob, Alice or Carol.

Trent thus creates an encryption key from the public keys, and sends the cipher. Next Bob, Alice or Carol can take the public keys in a set, and then use their own private key to decrypt the message. Trent will have no idea who has actually read the message or which private key has been used. Here is the code [here]:

A sample run is [here]:

Encryption of 'qwerty':
00000000 1f ef 1c cb a6 1a d4 83 fd 8f 59 fb 8b 15 0b ff…

--

--

Prof Bill Buchanan OBE FRSE
ASecuritySite: When Bob Met Alice

Professor of Cryptography. Serial innovator. Believer in fairness, justice & freedom. Based in Edinburgh. Old World Breaker. New World Creator. Building trust.