Search:

Type: Posts; User: mkthnx001

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,161

    Authentication Methods.

    Well, I've been racking my brain thinking about some authentication techniques, rather than the old password auth.

    Does anyone have any ideas?
  2. Replies
    10
    Views
    6,732

    Just to be on the safe side, this shouldn't cause...

    Just to be on the safe side, this shouldn't cause me any problems, correct?:



    char rot13 ( char x ) {
    if (( x == 'a' ) || ( x == 'b' ) || ( x == 'c' ) || ( x == 'd' ) || ( x == 'e' ) || ( x...
  3. Replies
    10
    Views
    6,732

    Well, at first I was going to say I already tried...

    Well, at first I was going to say I already tried that, and still didn't get the desired outcome.

    Although it seems the problem was, that I replaced 'A' + 13 with 'A' + 18. After switching it...
  4. Replies
    10
    Views
    6,732

    Well, thanks for your replies anyways, but I...

    Well, thanks for your replies anyways, but I ended up going about solving my problem a different, and maybe more complicated than necessary way, but it works. :P

    One more thing though, I have this...
  5. Replies
    10
    Views
    6,732

    Honestly, I know why you're asking that, and that...

    Honestly, I know why you're asking that, and that is to make sure I'm not getting anyone to do all the work for me.

    Seeing as how I have no idea how to approach this problem, I don't have any code...
  6. Replies
    10
    Views
    6,732

    Reading string one character at a time.

    Okay, so the problem is, I'm reading content from a file, into a string. I need a solution that will read each character from the string, and pass it through a rot13 type of function.

    So...
  7. Replies
    13
    Views
    2,370

    Is there any other method of doing this?

    Is there any other method of doing this?
  8. Replies
    13
    Views
    2,370

    Yes, but I'm afraid I don't quite understand it....

    Yes, but I'm afraid I don't quite understand it. Isn't the example they show for copying one file's contents to another?
  9. Replies
    13
    Views
    2,370

    Anywho, if someone would be kind enough to...

    Anywho, if someone would be kind enough to explain the binary opening mode to me a bit more in detail, I'd really appreciate it.
  10. Replies
    13
    Views
    2,370

    No, that's not the problem, I just put the %USER%...

    No, that's not the problem, I just put the %USER% in the code snippet, to replace the actual value that was in that place.
  11. Replies
    13
    Views
    2,370

    Well, I replaced file.open (path.c_str()); with...

    Well, I replaced file.open (path.c_str()); with file.open (path.c_str(),ios::binary);, and it still doesn't seem to be working.

    Is there something else I must do?
  12. Replies
    13
    Views
    2,370

    Okay, well, I tried adding ios::binary, and...

    Okay, well, I tried adding ios::binary, and nothing is still written to the file.

    Do I need to open and write to the file using a different method, now that I'm using binary mode?
  13. Replies
    13
    Views
    2,370

    Thanks, I knew it had something to do with how...

    Thanks, I knew it had something to do with how the file was opened. :)
  14. Replies
    13
    Views
    2,370

    Writing encrypted value to file.

    Well, I'm having a little problem writing an encrypted value to a file.

    To be a little more specific, I used an XOR like method to encrypt a string, and tried writing the value to a file. The...
  15. Replies
    15
    Views
    4,173

    Ah, okay. Thank you all for your help. :)

    Ah, okay.

    Thank you all for your help. :)
  16. Replies
    15
    Views
    4,173

    I was asking because I seemed to be getting the...

    I was asking because I seemed to be getting the wrong output when decrypting, while using said code, but after replacing the back-quote character with the new line character, the problem seems to...
  17. Replies
    15
    Views
    4,173

    Just to be clear, using getline(cin,...

    Just to be clear, using getline(cin, encrypt_input, '`'); will cause errors, unlike cin >> encrypt_input;, right?
  18. Replies
    15
    Views
    4,173

    It's basically like this: if ( option ==...

    It's basically like this:

    if ( option == crypter ) {
    cout << "\nEncrypt or decrypt? - ";
    cin >> crypter_option;
    if ( crypter_option == encrypt ) {
    system("cls");
    cout <<...
  19. Replies
    15
    Views
    4,173

    After going over a few things, I am getting...

    After going over a few things, I am getting somewhat of the desired output, but not all of it, and one or two characters are capitalized, when they are supposed to be lowercase.

    Are there any...
  20. Replies
    15
    Views
    4,173

    That's funny, I've already tried that, although I...

    That's funny, I've already tried that, although I will try something else, and get back to you.
  21. Replies
    15
    Views
    4,173

    Hi, and thanks for your reply. Unfortunately I...

    Hi, and thanks for your reply.

    Unfortunately I do not know if you're being sarcastic, or not, as I just started learning cryptography involving C++.

    Would you mind further explaining?
  22. Replies
    15
    Views
    4,173

    Require help decrypting XOR.

    Hello, all.

    After what seems like hours of searching on various search engines, and websites, I have decided to come here for help.

    I have this code:

    for ( int i = 0; i <...
Results 1 to 22 of 23