Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Write text to a .dat file??

Status
Not open for further replies.

MgBTask

Programmer
Sep 6, 2000
4
SE
You have all seen the .dat file, were the information is scrambled! Is there a way to do this? Scarmble and descramble with out using an encryption algorithm?

Thansk!!
 
Perhaps the easiest method of scrambling is XORing text before sending it to a file. This reverses the bits of the character. To read the file, you XOR the character with the same bit pattern.

[sig]<p>James P. Cottingham<br><a href=mailto: > </a><br><a href= Veneer Co., Inc.</a><br>All opinions are mine alone and do not necessarily reflect those of my employer.[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top