Elgamal

innocentzero

2026-03-14

Elgamal

Today, I learned about elgamal encryption. It was.... fun, to say the least. It's an interesting algorithm, but also somewhat... weird? Idk.

Elgamal

The idea is fairly straightforward. Basically give the signer something that we can raise using our own base and that'll give us whatever he had, to invert it and use it. kk here is a nonce here, obviously.