Is there a client-side program to cryptography a HTML page and decode if correct password is writen? I want to know if there is an easy way to do this:


create a complete HTML page 
cryptography the text content (image is not important)
ask user some password
check the password with a cryptographed password if(hash(userPassword)==hasedPassword)) return true;
if the password is correct it will decode it and show the content.


All this in user-side, not server-side. Because this I will use javascript. 

Is there any good implementation?
If you put the text content of the webpage encrypted into HTML5 local storage, IndexedDB or embedded as a hex/base64 string in the web page, then you you could try something like TripleSec which would take your password, run a PBKDF and decrypt the content.

Or you can use one of the many JavaScript libraries CryptoJS, SJCL etc and do it yourself manually.

You should run the code as a local .html file on the filesystem or in a browser extension. Don't make the mistake of running the JavaScript code served up from the server because your security would only be as strong as the HTTP/HTTPS connection and vulnerable to MITM. Even HTTPS is not secure against some attackers.