beautified and easy version of http://www.phpkode.com/source/s/rsa/rsa/rsa.class.php