encrypt_key and decrypt_key were using a feature of sum() where the second argument is a 'start' value and every futher value is += onto that. Since it was a tuple, the final result is a tuple. Replaced it with a tuple comprehension. get_chunks just needed some variable names but I am not sure the purpose of the increasing chunk size during iteration. It's probably a feature of the MEGA webclient. |
||
|---|---|---|
| .. | ||
| mega | ||
| tests | ||