Replies: 4 comments
-
Attribute handlers are stored on the Encrypted attributes can be downloaded by requesting their upload URL using Seems Edit: video informations are stored encrypted with XXTEA. Why not AES? Maybe they wanted a smaller block size. Why not XSalsa20 (as MEGA already uses TweetNaCl)? I don't know... |
Beta Was this translation helpful? Give feedback.
-
After working on this I know the answer: because XSalsa20 is not a block cipher, is a stream cipher. Looks like they want to reduce the space used by the ciphertext, then they can't use a stream cipher because it would require to store a nonce and replace it every time otherwise information would leak. The same issue don't happens with block ciphers. |
Beta Was this translation helpful? Give feedback.
-
You can debug a demo (node, or browser) of my unfinished library https://github.com/AlttiRi/meganz-api to investigate how it works. |
Beta Was this translation helpful? Give feedback.
-
Here are my old first demo tests of that: The current code in |
Beta Was this translation helpful? Give feedback.
-
Currently only uploading attributes (thumbnail and preview images) are supported.
Beta Was this translation helpful? Give feedback.
All reactions