Safe MEGAAdd passwords to MEGA folders

v2.1

MEGA is created to be a end to end encrypted file storage, but for users with free accounts it only allows random keys, which encourages those keys being shared in plain text, reducing security.

This web application is created to add an interface for creating links with passwords for folders, preventing the decryption key being delivered in plain text by the share link! What you're waiting? Add a password to a folder now!

Both the password and decryption key are never send to any server, also for increased security this page can be downloaded and run offline: don't trust us!

Please note that only modern browsers are supported as I don't want anyone using old browsers and having problems because any vulnerability.

If anything broke and more info check the GitHub repository.

You already shared a MEGA folder? The share link follows this format:

https://mega.nz/#F!handler!_22_random_characters_

Did you know? Those random characters are generated by your computer and are not send to MEGA servers: it's the encryption key. Being random they are a lot harder to crack than passwords, but are also hard to share and type.

What we are going to do now is creating a key based in a password (that can easily shared and typed) and other parameters that you can choose below:

Example result: https://safeme.ga/#handler!unique-value
Keep unique value blank for 8 random characters.
Example result: https://safeme.ga/#handler
WARNING: we depend on MEGA API access to get folder info, so even if it's simpler to share this method isn't the recommended.
Share the folder and paste the share link below:
Example result: https://safeme.ga/#handler!!unique-value
WARNING: we depend on MEGA API access to get folder info, so even if it's safer than using just a unique value this method isn't also recommended.
Keep unique value blank for 8 random characters.
Share the folder and paste the share link below:
[generated key will be shown here]

If you shared your folder you will need to remove share link before continuing.

Now overwrite the random key generation using this code in developer tools:

[code will be shown after generating key]

Then share your folder again. It will use the new generated key.
The link with password is the following one:

[link will be shown after generating key]

Where "handler" is the same of the last share link you got. Done.

Return to start page →

Enter password to decrypt folder:

If MEGA shows "wrong key error" is because the password is wrong. Note that passwords are case-sensitive.

More info →

This is the downloaded version of Safe MEGA. You know how much it's safe? The entire source code of this application is in control of you!

But there is has a small problem: usually people link to https://safeme.ga/, not to your download folder.

So, what to do? Simple, just copy the handler in your browser address bar, like this: https://safeme.ga/#handler.../safemega.html#handler.

By the way, if you think anything broke you can always check the GitHub repository for a new version. Don't forget to verify file signatures if you care about security!

Understood, go to start page →