How work the encryption of my files, my emails' attachments?

Your files are systematically sliced in equal chunks: each one changes randomly their name and type, is encrypted separately and stored along with every other files of everybody.

The same method is used backward to download your files: download & decryption of each chunk, reassemblage - again, all in your browser only.

And yes, that's also the system used for email's attachments.