MREA is an asymmetric-key cryptosystem , meaning
that for communication, two keys are required: a public key
and a private key. Furthermore, unlike RSA , it is oneway,
the public key is used only for encryption , and the
private key is used only for decryption. Following
is a key generation algorithm for MREA cryptosystem.