title: Strength of RSA Encrypting an AES Key
body: <p>I'm currently developing a system to transmit data between client and server, and was wondering what the strength of the encryption I planned to use was.</p>
  
  <p>My thought was to have a private/public RSA key pair and hand out the public key to each client (leaving the private key solely on the server). Each client would then generate their own AES key and RSA encrypt it. They would then AES encrypt their data and send the encrypted data and encrypted AES key to the server. The server would then decrypt the AES key using the private key, and then decrypt the data using the AES key.</p>
  
  <p>Are there any security flaws I am missing and/or is there a better way to do this?</p>