Showing posts with label Tutorial. Show all posts
Showing posts with label Tutorial. Show all posts

Wednesday, April 21, 2010

How To Encrypt Your Blog Post

Previously, I saw someone with password protected blog post and I was wondering how they did it. So I Google around for information and what I found was Blogger do not provide password protected post =( But fortunately, I found an alternative which is to encrypt it instead~


A sample of encrypted post with password

Fang asked me how I encrypted my post few days ago, so I thought why not make a tutorial right =P Let's begin!

Step 1:
Paste this code between your blog's <head> and </head> tag

<script type="text/javascript" src="http://www.vincentcheung.ca/jsencryption/jsencryption.js">

Step 2:
Click here to create your encrypted post.
Create a password at the Key section, type in your content at the Plain Text box. When you are done, just click encrypt and the encrypted post will be shown at the Cipher Text box.



Step 3:
Select the type of encryption you want at the HTML Code box. You can check out the different types of encryption here.

Step 4:
Copy the code and paste it into your blog post and you are done.

OPTIONAL
Step 5(a):
By default it will show the hyperlink with the words "Show encrypted text", but you can change it to whatever that fits you.

Step 5(b):
Another option is you can create a button for it instead like mine. You can click here to generate your own button. Save the image, upload it to your post and add in the decrypt link to your button image.

Example:
<a target="_blank" href="http://img18.imageshack.us/i/asdasd.jpg/">

Let's say the code above is your image's code, just replace the link at "href=" with the link you got from your encrypted post's generated code.

Hope you all will find this tutorial useful =) Feel free to leave a comment or questions ^^