So I was working on a python script to login to mega.co.nz. The problem is, in the post data, mega uses email and hash of email:pass.
I have done hashlib things in python before but this uses some aes algo a little complecated.
I found a site, which has a javascript doing the hashing.
Here is the link for the site.
If site was using some post request to get hash that is needed then I would have done that. But site just uses a javascript which creates hash on the go.
I tried to take that .js and used modules to be able to run it in python. but failed.
Can anyone please help me create a hash function in python that yields the required hash.
Thanks.
I have done hashlib things in python before but this uses some aes algo a little complecated.
I found a site, which has a javascript doing the hashing.
Here is the link for the site.
If site was using some post request to get hash that is needed then I would have done that. But site just uses a javascript which creates hash on the go.
I tried to take that .js and used modules to be able to run it in python. but failed.
Can anyone please help me create a hash function in python that yields the required hash.
Thanks.


