Photo by Lewis Keegan — Skillscouter.com on Unsplash

Recovering a Message From a Signature

--

Wouldn’t it be amazing, if you could sign for something, and the message you were signing for, was actually contained in your signature? Well, with the Nyberg-Rueppel method, we can do just now, and where Alice takes a message and then creates a signature. Bob can then check the signature, and recover the original message.

We normally use digital signatures to sign a message, and where the message is also defined alongside the signature. Alice will sign the message with her private key and then proves the signature with her public key. Within the Nyberg-Rueppel method we use ElGamal encryption, and can recover the message from the signature [here]:

In this case, the message is a value of 10, and we generate private and public keys of various sizes:

In ElGamal, we generate two prime numbers p and q and then make sure that q is a divisor of p−1. Next, we compute a value of α and with a generator value…

--

--

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.