RSA security bits calculation