mega-php-client
mega-php-client copied to clipboard
Problems with the API
- Delay when prepare key for login, I have understood that is problem of openssl/mcrypt for the encrypt, an alternative for reduce the delay?
- The "false-positive" when login, I believe that the problem lies with the "prepare key" that generate an sid BAD, you can see when the sid start with "AAAAAA"
- The delay during user login is normal, the
prepare_key
function initialize the key from plaintext password doing 65536 iterations of the full AES block cipher. Mcrypt encrypt rijndael-128 performance is ~0.0005 seconds for 1 iterations. You can useMEGA::session_save()
andMEGA::create_from_session()
to avoid to login every time. - I cannot reproduce this problem. Can you give more info on this?
- Okey, so it's normal the delay >_<
- The variable "u_privk" generates bad numering and array values finishes with ".0000000000"