Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-29-2007, 08:37 PM
Snapz
Guest
 
Posts: n/a
Default encryption.blowfish question.

if i use
Entryption.blowfishEncode()
What doea the parameters do in () ? like Entryption.blowfishEncode(myKey, message)
What exactly does mykey ???

also, when received data from server in blowfishEncode form... how to i decode the data into plain text in flash ?
like Entryption.blowfishDecode(mykey, message)
Do i need mykey again ?????

but still, myket???? i know that message is data that is going to be converted into encrypted data...
How well does these workd with UTF8 characters ???
Reply With Quote
  #2 (permalink)  
Old 12-30-2007, 09:17 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: encryption.blowfish question.

"myKey" is the password that you use to encrypt or decrypt a string. You must keep the key secret so that nobody else can decrypt your message, as both decryption and encryption use the same key. These methods also work with UTF8 characters, as ffish script internally uses 16-bit characters.
Reply With Quote
  #3 (permalink)  
Old 12-30-2007, 12:16 PM
Snapz
Guest
 
Posts: n/a
Default Re: encryption.blowfish question.

Oh cool!

Actually really clever function, i must say!

But how about a dataset ? lets say flash creates a new XML and needs to store it at the server. If i call my xml for
pers_list and it holds, name, age, email, user_id, md5(password) and i encode this XML with blowfish.

Is swfkit abel to decode this dataset back into xml ?
Reply With Quote
  #4 (permalink)  
Old 12-30-2007, 01:19 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: encryption.blowfish question.

Yes, by decoding you will get exactly the same string as before encryption.
Reply With Quote
  #5 (permalink)  
Old 12-30-2007, 01:55 PM
Snapz
Guest
 
Posts: n/a
Default Re: encryption.blowfish question.

hm.. im getting nervous when you say string...
but ill try it out as soon as i get my swfkit to find flash player
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 04:46 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.