Tutorial : Hide or encrypt posts in Blogger

Apr 22nd, 2008

5 Comments


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!

Popularity: 2% [?]

Tags: , , , , , , , , , , , , , , , , , , ,

5 Responses to "Tutorial : Hide or encrypt posts in Blogger" {+}

  1. Khan_z on November 4, 2008

    Nice Post..


  2. Vincent on November 28, 2008

    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/


  3. Nat on February 22, 2009

    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!


  4. xonetzz on March 29, 2009

    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


  5. Naomi on April 5, 2009

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



Leave a Reply

a

CommentLuv Enabled