Tutorial : Hide or encrypt posts in Blogger

If you have a blog in Blogger, you’ll realize that it does not have the option to password protect your posts like WordPress does. However, there is a way around it, thanks to Vincent which uses Javascript to encrypt and decrypt the text. Here’s a step by step tutorial (complete with pics. YEY!)

First, you hv to edit your blogger template. Go to Layout >> Edit HTML and find </head>. If you can’t find it, mark the box “Expand Widget Templates”. Then paste this code BEFORE the </head>

Screenshot:

Next, you need to encrypt ur post and put it in your post. Go to this page, insert your desired key (which will act as the password) and also the text that you want to keep hidden. Press the [Encrypt] button and copy the encrypted text in the red/pink box.

Choose a unique_name and paste the text you copied from the pink/red box into Paste encrypted text here. Make sure the unique_name is same for both lines of the code below.

<a href=”javascript: Decrypt_text(‘unique_name‘, ‘Paste encrypted text here‘);”>Show encrypted text</a>

<div id=”unique_name”></div>

Screenshot:

~~~~~~

Your post will now look like this:

I hope this helps you a lot!

Related Posts Plugin for WordPress, Blogger...
Filed under: Blogging, Computing, Technology, , , , , , , , , , , , , , , , , , , ,

6 Responses

  1. Khan_z Says:

    Nice Post..

    Posted on November 4th, 2008 at 2:57 am

  2. Vincent Says:

    Just to let you know, I just updated the JavaScript Encryption stuff (also changed the website). It’s now a lot faster and simpler to set-up. Check it out here:

    http://www.vincentcheung.ca/jsencryption/

    Posted on November 28th, 2008 at 12:13 pm

  3. Nat Says:

    Hi,

    I actually used ur method.
    It works for it appears show the encrypted text.
    but when i click on that, nothing shows.
    it doesnt show like ur screenshots does.

    help!

    Posted on February 22nd, 2009 at 11:50 pm

  4. xonetzz Says:

    hi there, I’ve done the steps shown but the pop out box doesn’t appear when I clicked on the ‘show encrypted text ‘
    can you help ? thanks

    Posted on March 29th, 2009 at 3:32 pm

  5. Naomi Says:

    Hi, tried that method, but what if I need to post pictures? Any way to that please?
    Thanks so much!

    Posted on April 5th, 2009 at 12:36 pm

  6. Jennifer Says:

    I love this feature.
    When I tried, the key that i use turns out to be invalid. Any advice please?

    Posted on April 2nd, 2010 at 7:21 am

Leave a Reply




Switch to our mobile site