Please Help i need software

Discussion in 'General Software' started by kws, Jul 8, 2008.

  1. kws

    kws Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    Does anyone know of any software that will convert letters into numbers?
    So if i enter a word it will convert it into a group of numbers and will be the same numbers everytime.

    Thanks kws
     
  2. edijs

    edijs Programmer

    Likes Received:
    9
    Trophy Points:
    38
    the brute force way would be to paste the text into a text editor program and use the Find-and-replace function to replace all As to 111, all Bs to 222 etc. ....

    edit: MS word has also some wildcard functionality and formulaes available - see here
     
  3. thomas234

    thomas234 Big Geek

    Likes Received:
    0
    Trophy Points:
    16
    I'll get on with writing you the software, nothing better to do :)
     
  4. thomas234

    thomas234 Big Geek

    Likes Received:
    0
    Trophy Points:
    16
    There thrown together something which might do the job. It only allows lowercase, and doesn't accept any formatting, but I can't be bothered to include them!

    Enjoy!
     

    Attached Files:

  5. kws

    kws Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    Thanks thomas234
    This is a great help thanks.
    But would you have a problem if i changed a few things.
    If you dont mind which file can i find the numbers in just so i can change them to completely random numbers rather than in sequence or would this not be possible.
    Thanks
     
  6. thomas234

    thomas234 Big Geek

    Likes Received:
    0
    Trophy Points:
    16
    It's easy to change, when I get back from work tonight I'll re-code a bit so it reads from a text file the numbers. Unless commas are used between each number, each number will have to be 2 digits. This is because it splits the code into 2 character sections, and converts them to numbers. I can change it to any number of digits if you prefer, but every number used will have to have the same number of digits. If commas or spaces are used to seperate the numbers, then this wouldn't be necessary, but it might be easier to de-crypt the message.

    If you have any more requests, don't hesitate to ask.

    Thomas
     
  7. thomas234

    thomas234 Big Geek

    Likes Received:
    0
    Trophy Points:
    16
    Ok I've re-written some of the code, and the numbers are now 3 digits long (to allow for more characters to be used), and are contained within a text file called numbers.txt. The text file must be in the same directory as the executable.

    Also, I've added something I created a while ago, called WormaldEncryption. You'll see what it does, it's nothing special.

    The numbers relate to these characters, it is no longer a = 10, b = 11 etc..

    Code:
    "a", "A", "b", "B", "c", "C", "d", "D", "e", "E", "f", "F", "g", "G", "h", "H", "i", "I", "j", "J", "k", "K", "l", "L", "m", "M", "n", "N", "o", "O", "p", "P", "q", "Q", "r", "R", "s", "S", "t", "T", "u", "U", "v", "V", "w", "W", "x", "X", "y", "Y", "z", "Z", "¬", "`", "¦", "!", "\"", "£", "$", "%", "^", "&", "*", "(", ")", "-", "_", "+", "=", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "{", "}", "[", "]", ";", ":", "@", "~", "#", ",", "<", ".", ">", "/", "?", " " };
    Inside each quotation marks is the character. So 100 = a, 101 = A, 102 = b etc...

    Hope this helps.

    Thomas
     

    Attached Files:

    • c2n.zip
      File size:
      10.2 KB
      Views:
      160
  8. kws

    kws Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    Thanks Thomas, this is a great little piece.
    Sorry to bother you again but could i trouble you to make one more change, i will be using the one you have just sent, but could you edit a simplified version for the other users on my pc please with only a-z letters, only in lower case, and with just 2 digits for each letter.
    Sorry to be bothering you again but thanks youve been a great help.
     
  9. thomas234

    thomas234 Big Geek

    Likes Received:
    0
    Trophy Points:
    16
    Yep not a problem, I've done it and attached it. The only thing to remember is that 10 = a, 11 = b, as usual, but 27 = space character. The computer recognises the space as a character, so it has to be included in the set of characters.

    Once again, don't hesitate to ask for any more changes!

    Thomas
     

    Attached Files:

    • c2n.zip
      File size:
      9.7 KB
      Views:
      152

Share This Page