Ok this is somewhat of a second related post of my other one "C++ File". There is no need to read the other post just want to tell you.
I want to make a console app that does the XOR thing I heard about using the simple ifstream and ofstream ( well simple compared to win programing). This isn't the first time Ive heard about it; I just can't find any hard/good documentation on it.
Thanks in advance.
Edit: I want to actualy save a file with this.
Edited 5 Years Ago by Zssffssz: Muffins
I want to make a console app that does the XOR thing
What's the "XOR thing"? There are a whole bunch of encryption techniques which use XORing, but it's not the whole algorithm.
I heard about using the simple ifstream and ofstream
If you're looking for ifstream and ofstream documentation, here's some...
Here's a tutorial.
I'm not sure precisely what you're looking for, so these are pretty generic links.
Real encryption algorithms (symmetric ones anyway) are mostly based on an extrememly strong random number generator that can be "seeded", which means made to generate the same sequence of random numbers, given a seed, often called the key.
You take those extremely random numbers and xor them with the data, giving you seemingly completely random output. When decrypting, you use the key again, seed the random number generator with the same seed (key), and do the xor operation again on the encrypted data. Doing an xor again on the encrypted data with the same number will undo the original xor (that you did when encrypting) into the original data.
Is this what you mean?
I am developing a simple job card creator application with VB.net 2012, using Access 2010 as database.
The code I have generated to write data from a datagridview to the database table is successfully saving the data, but with an error "Parameter @name has no default value". The ...
write a C++ program which take inputs from the user/keyboard and calculate his ZAKAT.
get the input from user may include
-Amount invested in business
-Amount given to other business partners as loan
-Amount payable to others
I made a prime number finder, it finds the nearest prime that is above and below any integer (Does not work that well with giant numbers.)
Made this in cpp.sh
Why would I need the x=y+1-1;?
x=y; just doesnt seem to work
Why is this?
And I know my coding ...