+ Reply to Thread
Results 1 to 8 of 8

Text Encoding

  1. #1
    Forum Contributor
    Join Date
    06-12-2007
    Posts
    144

    Text Encoding

    I want to make a very basic text encoder to change a text string to a long number. (Yes I know its not very secure!)

    This is what I have so far but I cant get the VLookup to work properly...

    Please Login or Register  to view this content.
    The Text to encode is in A1 and the table to lookup is Y1:Z95

    If you have any suggestions of other ways to do it please bear in mind I do need the output to be all numbers, not other odd characters.
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Here's part of it working. Make sure to format A3 as text.

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-12-2007
    Posts
    144
    Cool thanks!

    OK here is a copy of my current work book.

    It kinda works, just has problems with punctuation marks for some reason.

    And I havent been able to implement any kind of key system.

    Any ideas or different approaches?
    Attached Files Attached Files

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Encryption dates back at least to Julius Caesar, who used number substitution for letters. There have been somewhat more sophisticated methods developed since then, to today's DES, Blowfish, RSA, and RijnDael.

    There's lots of info in the web, including various algorithms implemented in Excel.

    A simple scheme (but not as simple as Caesar's) will keep all but your most dedicated enemies in the dark.

  5. #5
    Forum Contributor
    Join Date
    06-12-2007
    Posts
    144
    Theres a cool little excel thing here:

    http://blog.livedoor.jp/andrewe/arch...at_107032.html

    and I have attached my modified versions too.

    Its still REALLY insecure tho...


    I read about hiding your encoded message in an image file, that way people dont even know that there IS a message!
    Attached Files Attached Files
    Last edited by treva26; 10-31-2007 at 08:58 PM.

  6. #6
    Forum Contributor
    Join Date
    11-11-2005
    Posts
    267

    Some more...

    For what amounts to a surfeit, the following idyllic Function code, coutesy of Bob Bovey, does the trick:


    Please Login or Register  to view this content.
    The first-run ecodes, the second automatically decodes to original. Bob's Code uses Octal representations of byte and transmogrifies them with XOR function.

    Like all encoding/decoding utilities, it is not fool-proof as you require 255 passes in a loop to unlock the key.

    For a very long time now, I have, by continual usage, found my own custom Encript/Decript code fairly reliable, if ponderous. It is again not 100% fail-safe. The codings can use both positive and negative keys, and thereby sidestep tradition. Again, a different key can be used for any one run -to take care of a single encode/decode session.

    Please Login or Register  to view this content.
    Last edited by Myles; 11-02-2007 at 01:26 AM.
    HTH
    Myles

    ...constantly looking for the smoother pebble while the whole ocean of truth lies before me.

  7. #7
    Forum Contributor
    Join Date
    06-12-2007
    Posts
    144

    Smile Finished!

    Nice Miles, thanks.


    I have actually now finished my own full version.
    It encodes pruely into numbers for error free pasting into emails etc, as was my intention.
    It takes a password or phrase.
    And uses a nice GUI form too.

    Im sure the code is not as efficient as it might be but it works and I think its fairly secure, especially if they dont have the workbook.

    It encodes into 4-digit numbers which are then multiplied by a corresponding number in the key (after it is encoded into numbers too). Then the resulting message is jumbled up so the 4 digits of each number are not even in order.

    I think that using just numbers might also remove any clues that other systems might leave. Also the fact that it takes 4 digits to represent 1 character.
    And of course the password can be any alphanumeric phrase you want (as long as you want).
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    11-11-2005
    Posts
    267
    Treva,

    It's cool! Always good to have something personally customised as you did.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1