Results 1 to 4 of 4

Thread: Letter Replace Crypto

  1. #1

    Thread Starter
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    Letter Replace Crypto

    I am trying to decrypt a message that was sent to me using a letter replacement algorithm (i.e. A=C, B=Z, C=F,...)

    I am trying to write a program to brute force through all of the possibilities, but I am having a hard time coming up with the looping structure.

    Any help would be appreciated.

    Thanks,

  2. #2

  3. #3

    Thread Starter
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367
    Thanks for the reply martin, but that code seems more like an anagram solver than what I was looking for.

    For example I may have the word "DGSA". The unencrypted version of this word would be "CATS". In this case

    C=D
    A=G
    T=S
    S=A

    I'm sure there is a way to adopt your code to do this (I would have to use a whole alphabet, instead of just the 4 letters from the word), but the logic behind solving this problem is just not clicking with me.

    Thanks,

  4. #4

    Thread Starter
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367
    On second thought, maybe I can use your program to generate all of the possible alphabets and then use those alphabets as to replace letters in the string.

    I think I can take it from here.

    Thanks.

Posting Permissions

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



Click Here to Expand Forum to Full Width