I'm trying to create a chrome extension that activates when it detects an encrypted zip file in Gmail. The encrypted zip contains an mp3 file. The password for the zip file will be known before hand. I want the chrome extension to decrypt the file using the known password and play it using Javascript.
This is my first time working with Chrome extensions but I believe I know how to code everything except the decryption of the zip file. After some research, I haven't been able to discover how to use existing libraries (like zip.js or jszip.js) to decrypt the zip file.
Any help would be appreciated. Thanks!