Changed rsa generation