John_Ha wrote:Correct. The password is not saved in the file.
A grossly oversimplified explanation. I want to encrypt the number 1,234,567,890 using the password 8641. Say my encryption method is simply (...)
... AOO generates a different salt for each sub-file in the document so, although only one user_password is used, each sub-document is encrypted with a different "password". The salt(s) 17 is/are stored in the file.
To decrypt, I ask for the password and you enter 8641. I read the salt 17 from the file, and subtract the 17 to get 8,624. I divide the encryption 10,646,913,483,360 by 8,624 to get the plain text 1,234,567,890.
Note how the 8,624 is not stored anywhere.
I think, I've understood. In the file only the "random salts" are saved, a kind of key, which permits the encryption algorithm to verify, if the password put in is correct.
This implies, the encryption algorithm of AOO and LO are the same. It is also possible to open a protected AOO file with MS-Office?
Now back on my problem (not possible opening an AOO-ods file with AOO-Calc)
a) at the first, I thought, I've forgotten the password or I had changed it, the last time I used the file.
b) today I restored from backups many old versions of this files since 2014. Particularly interesting is the file of 2014: its password is very simple (like 1234). No chance to open one of these files - AOO notified every time the password were wrong!
c) at last I installed LO and with it, I can now open the protected files - the old as well the new ones. I didn't forget the passwords!
What is actually wrong with AOO [A00417m1 (Build:9800) - Rev. 46059c9192] ?
- maybe a compaytibility problem with Linux (this does not support AOO anymore) ?
- or could be that an AOO component has been corrupted?
- should I try a reinstall of AOO?