Rabin Cryptosystem with BigNumber library.