Encrypt with a public key as an argument
Encrypt with a public key as an argument

As Rabin's cryptosystem is the one that uses asymmetrical keys, only the public key (which is "n" in our case) is needed to be sent to encrypt() function as its argument (instead of "p" and "q" which we must know only when decrypting).
Smartfanat/RabinCryptoSystem