title: How does Mega's encryption work for sharing?
body: <p>I have some issues regarding to find a way to achieve the encryption of arbitrary data that can be shared with multiple recipients. Mega seems to do exactly that. As far as I read it encrypts the data before its uploaded to the web server. Still it is possible to share that file with others. How is that done with the encryption?</p>
  
  <p>Imagine the following scenario:</p>
  
  <ol>
  <li>User Alice uploads a file to the server, it is being encrypted</li>
  <li>Alice wants to share that file with Bob and Dave. How can Bob and Dave access the file and see its original content (decrypted)?</li>
  </ol>