Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-17-2005, 11:33 AM
Member
 
Join Date: Jan 2003
Posts: 54
Send a message via MSN to swfbaz Send a message via Yahoo to swfbaz
Default FileStream Object is not working!!!

Please read the whole post to understand my problem... Thanks
----------------------------------------------------------

The problem is as follows:

myfile.xml contains:

<question no="1" type="2">
<quest>This is the first question</quest>
<options><a>True</a><b>False</b>
</question>
----------------------------
I encrypt this text using SWFKit....(apply my own algo to enc/dec)
1. I read myfile.xml
2. encrpt it using my algo.
3. save the encrypted text into myfile.enc

Now I find myfile.xml as myfile.enc having data look like a garbage data... but worthfull to me.

Now i read this file back.... reverse my algorithm to decrypt the data found in myfile.enc back to readable text as myfile2.xml

But when i do this... i get garbage with the original text which looks like:

<question?no=?????? type=??????>
<quest>This?is?the?fi?st?quest?on<?quest>
<options><a>True<?a><b>Fal?e<?b>
<?question>

I test my algo which works fine.... when i enc the data and hold it in a swfkit variable and then dec it at the same time.. i get 100% accurate data.. but when i save the file on the hard drive at some location... i get above out put...

Well I 've figured it out myself... as i am using FileStream Object to read and save the files..... which may be the real cuase of the problem... as i get by it.... following things i dont get back in original form after saving and then retrieving the data from the file:

1. Numbers
2. Special Characters.

Is there any possible way to save the encrpyted data and then get back it in its original file....???

I am waiting for response.. if somebody knows....

Thanks

__________________
SWFBaz Preview [October 2006]
http://www.SWFBaz.com
Reply With Quote
  #2 (permalink)  
Old 07-18-2005, 02:36 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:FileStream Object is not working!!!

Please send a sample to support@swfkit.com, thank you.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:52 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.