How to insert random characters in a text file at random positions using C
- by Shantanu Gupta
I m writing a program to insert random characters in a text file in between the text so that no one can understand this text.
eg.
suppose this is my text file a.txt with content as
"Hi my name is abc. I like to play
XYZ"
Now i will cal a random function in C and get the 26 modulus random no to get the character to be inserted at random position.
eg.
"Him mayn mae lkd". etc
How can i insert this random character in between the file.