Search:

Type: Posts; User: nohemon

Search: Search took 0.00 seconds.

  1. You were right. Thank you both. GReaper να'σαι...

    You were right. Thank you both. GReaper να'σαι καλα αδερφε.
  2. File encryption succeeds, but decryption fails

    My code supposedly encrypts a file (XOR method) and then (when I rerun it with the appropriate argument), decrypts it.

    I can successfully encrypt and decrypt .txt files, but when it comes to .exe...
  3. Replies
    7
    Views
    3,100

    It compiles but it outpus nothing. Maybe it's...

    It compiles but it outpus nothing. Maybe it's what you said. But why output doesn't show now but it was visible when I iterated through the initialized char array?

    If I write the output to a new...
  4. Replies
    7
    Views
    3,100

    I did. I tried doing it on buf array. I tried...

    I did. I tried doing it on buf array. I tried one-by-one (by iterating to it), and as a whole, but I got the same error in both situations.

    error: invalid operands to binary ^ (have 'char *' and...
  5. Replies
    7
    Views
    3,100

    Something like this: #include ...

    Something like this:



    #include
    <stdio.h>
    int main(int argc, char *argv[])
    {
    char xorString[] = "This is a test";
    int i = 0;
  6. Replies
    7
    Views
    3,100

    How to apply XOR encryption to a file

    I'm reading a file and I want to apply XOR encryption to it and print it.
    This is my code


    #include <stdio.h>#include <stdlib.h>
    #include <string.h>
    #include <unistd.h>
    #include <sys/stat.h>...
Results 1 to 6 of 6