On the Security of Some Variants of RSA