Encrypts the input based on El Gamal Cryptography

All inputs must be numbers

q must be prime, a and xA are optional but a must be relatively prime to q

q a
xA yA
m c1 c2

Made by Bechara Rizk