[ElGamal Home][Home]
With ElGamal public key encryption we have a public key of \((Y,g,p)\) and a private key of \((x)\). The cipher has two elements (\(a\) and \(b\)). With this, Bob selects a private key of \(x\) and the calculates Y (\(g^x \pmod p\)) for his public key.