Should be correct for building RSA