IMS_Blog

Because I forget stuff. Part of norcimo.com

Note: It appears you must have reached this page by a deep level URL. In general this site is currently down and unmaintained. See here

About This Post

Originally posted August 11 2006 at 17:08 under Blogging. 0 Comments. Trackbacks Disabled.

More Gobbeldeegoookeeness

Mood:
Errr

In which it gets so much worse…

Following on from my last post the entire encryption scheme did leave me with one problem..post titles. The titles themselves can give something away about the post content (well, sometimes). It wasn’t so easy to simply encrypt them though, due to the whole multiple key for a single post possibility if nothing else (not to mention the length of an encrypted title would be far too long!). So now the enctyption mechanism takes the title and puts it in a <span> within the post body before encrypting. The title is set to Encrypted Post with the date appended. Decryption decrypts everything and finds the span, replacing the title with its contents (and removing the span). This actually means I can have different titles depending which part of a post is decrypted if there’s more than one key!

Oh, and so that it’s more obvious which keys may work, there’s now an indication of who may decrypt. So if I were to ever use this I could dish out a single key to friends and they’d be able to use that to decrypt everything marked as decryptable by friends (of course this whole scheme suffers from the classic key distribution problem but hey, if I really was bothered I could set up public-private key encryption with people to exchange keys…but then, if you’ve gone so far as to do that…)

Yes, I have spent far too much time on this!

Comments (0):

Post a comment

Name and email address are required. Email address is never shown. If you enter a URL your name will be linked to it (this and other links will have the rel attribute set to contain nofollow). Markup allowed: <a href="" title="" rel=""> <em> <strong> <abbr title=""> <acronym title=""> <p> <br />. Anything else is stripped; please be valid. Single linebreaks automatically convert to <br />, double to <p>'s. Additionally anything that looks like a bare URL should get automagically linked. Many acronyms and abbreviations are also automagically handled.

Please note this blog's comment policy

Trackbacks (0):

Trackback URL: http://www.norcimo.com/MT/mt-tb.cgi/578

Advanced...

This Crazy Fool

Who:
Dr Ian Scott
Where:
Croydon (and Gateshead), United Kingdom
Contact:
ian@norcimo.com
What:
Bullding Services Engineer (EngDesign), PhD in Physics (University of York), football fanatic (Newcastle United), open source enthusiast (mainly Mozilla)

More about me [Disclaimer]

You may subscribe to IMS_Blog using the RSS Feed, the Atom Feed or by email.

Creative Commons License

© Ian Scott. Powered by Movable Type 3.2. This blog uses valid XHTML 1.0 Strict and valid CSS. All times are local UK time. For further details see the IMS_Blog about page.. All my feeds in one.