0

I have been trying to password protect my word file using python but have been unsuccessful, I have checked the module msoffcrypto but it only supports decryption. I am not sure how it can be done ? if you guys have any lead on this please ping in chat. Thanks.

end result: I am expecting as when I open world file by clicking on it, it should ask for password.

Adam
  • 181
  • 16
  • Hi @Kartikeya, the following documentation can give you some idea: https://stackoverflow.com/questions/20852664/python-pycrypto-encrypt-decrypt-text-files-with-aes – Ranjan Pal Jul 20 '21 at 04:08

0 Answers0