I want to create a file like this one with C#

  • Thread starter Thread starter Bassem
  • Start date Start date
B

Bassem

Hi Everyone.
Thanks for Help.

Simply I want to create a file saved in it information but in the same
time when anyone try to read this information couldn't understand the
contents of the file.

As an example: this is a contents of a file like the one I want.

"]eŒ:  B$m{ڑG ً ے ے ZG
 eG 5 Qà،_ طب.G ْ·¹ي!=%P à#
، ‡³و91€@lYL ب @W Jا>g
ؤأ°؟~ ضî,¬3
œv%€.ْ C€ٍMc€Au^ْک3°5©َ§@أ؟x
خK_؟ôô‹¢ ٌéث~ùéر~ê×~ ê]Œ‏'كُ00ّ‎~d0_û‎'ج€ة_ّûه½_ْû¥آپ«؟¤uzطْE­_†ûe­_4
ج [؟ؤAگُ—¶~Qî/·~ ‘`ن/ل\ç…H'؟ˆ÷ ڑ'ï—ا‏"ï—€d::³Hـ}ىع}ٹ%(ùثv؟¨Kàٌî~A
€و/ف‎آCا_¼û‹‚چ؟ـُثءë"

and in the same time is I creatre this file how can I read this file
from C# also.

Simply I want to save info in a file and read this info from this
file.

Thanks,
BWA
 
You want to encrypt your file before you store it,
then, after you read the data back out, you decrypt the file.

A good example of an encryption algorithm is this blowfish example:
http://www.example-code.com/csharp/csharpBlowfish.asp

The area of study known as "cryptography" has been around for a long time,
and has built up quite a few terms. It can seem daunting, at first. That's
why it helps to just start simple. Blowfish is simple and powerful. You
can go further, and make your encryption better. That's up to you.

Good luck,
--- Nick


Bassem said:
Hi Everyone.
Thanks for Help.

Simply I want to create a file saved in it information but in the same
time when anyone try to read this information couldn't understand the
contents of the file.

As an example: this is a contents of a file like the one I want.

"]eO:  B$m{ڑG ً ے ے ZG
 eG 5 Qà،_ طب.G ْ·¹ي!=%P à#
، ?³و91?@lYL ب @W Jا>g
ؤأ°؟~ ضî,¬3
ov%?.ْ C?ٍMc?Au^ْک3°5©َ§@أ؟x
خK_؟ôô<¢ ٌéث~ùéر~ê×~ ê]O‏'كُ00ّ‎~d0_û‎'ج?ة_&
#1617;ûه½_ْû¥آپ«؟¤uzطْE­_?ûe­_4
ج [؟ؤAگُ-¶~Qî/·~ '`ن/ل\ç.H'؟^÷
ڑ'ï-ا‏"ï-?d::³Hـ}ىع}ٹ%(ù&#157
9;v؟¨Kàٌî~A?و/ف‎آCا_¼û<,چ؟ـُ&#1
579;ءë"

and in the same time is I creatre this file how can I read this file
from C# also.

Simply I want to save info in a file and read this info from this
file.

Thanks,
BWA
 
Back
Top