3 ms·
Also check out: http://jszip.stuartk.co.uk/ http://jszip.stuartk.co.uk/ I used it a week ago for a simple project (a kinda secure file system - with PHP and Mo
by pooriaazimi 15y ago
Also check out: http://jszip.stuartk.co.uk/ http://jszip.stuartk.co.uk/
I used it a week ago for a simple project (a kinda secure file system - with PHP and MongoDB for backend). I would encrypt a file on my server (AES) and then send the encrypted data to user's browser. Then I could decrypt the data with JavaScript and used JSZip to make user's browser download the decrypted files.
- jonknee 15y agoWhy go to all the hassle of encrypting/decrypting and not just use HTTPS?
- pooriaazimi 15y agoBecause it was an assignment for my 'Information & Communication Security' class and I had to do it without SSL/TLS! And it was a fun little project - I learnt how to use JQuery and worked with PHP, MongoDB and JavaScript. I usually code in Java and ObjC and it was a fun break...
- gildas 15y agoBefore writing zip.js, I tried this library. It was really great but id does not scale at all: it means the created zip file is not "streamed" so it can use a lot of RAM when creating large files.