Search:

Type: Posts; User: Keegan

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    3,505

    Mapping Characters to Ints

    For my encryption assignment our professor wants specific values for characters rather than the normal ones that textpad or jedit uses (a=97, 2=50, /=47 etc)



    I'm not really sure how to even...
  2. Replies
    11
    Views
    2,651

    Thank you so much, but I just tried it BrewBuck's...

    Thank you so much, but I just tried it BrewBuck's way of going back to the beginning of the string when I'm done, and it worked. It took a good half hour to figure out how to change the encryption...
  3. Replies
    11
    Views
    2,651

    Also, if I am going to have to go back to the...

    Also, if I am going to have to go back to the beginning of the key each time, could you exlpain how to do that?

    I assume it would be something similar to


    if(key[i] == 0)
    {
    i = 0
    }
  4. Replies
    11
    Views
    2,651

    I can do that, but it doesn't add one to the next...

    I can do that, but it doesn't add one to the next cyphertext, it adds one to that character in the key, so if the cyphertext that was calculated from the letter c in the key "cat" was greater than J,...
  5. Replies
    11
    Views
    2,651

    Is there any way to repeat the string though,...

    Is there any way to repeat the string though, because for the second part of the assignment I'm going to have to change the letter of the key I am on to the next letter of the alphabet if the...
  6. Replies
    11
    Views
    2,651

    Repeating a String in C

    I have an encryption assignment that takes input to create a key and another input to create a message, then taking the values of the key, it adds them to the message in such a way that the message...
Results 1 to 6 of 6