JavaScript to encrypt-decrypt html files
<p>I have a folder containing thousand of html files. I want initially all these html files should be in encryted form and when a call to paticuler html is made, it should be decryted and should open in browser and after that when next html will be called the previously decrypted html should be deleted or again encrypted.
Can ww do that and how?
And also tell me JavaScript code to encrypt - decrypt html.</p>

<p>Thanks in advance. </p>
