PHP :: Encrypt / Decrypt Data With Private Key
Jun 16, 2011
I would like to implement some security in some of the Flash/PHP applications that I have. I have some Flash apps that communicate with PHP files, and the PHP is sending the data as get string (E.g.: name=John&sname=Doe&age=24&balance=12.4). Instead of all these variables, I would like it to send a single variable (E.g.: flashvar=jr9afgaw9-fg90agfawf7gw) that would contain those values, so then Flash would decrypt the string and get the real and useful vars.
I want to encrypt this using a private key and use the same private key to decrypt this inside Flash. If someone would want to decode the message PHP sends, he would have to decompile the flash file and find the private key I'm using in Flash to decode the message and then decode it. The reason I posted here is because I want to use an encryption algorithm that allows only the use of a private key for encryption/decryption.
View 3 Replies
Similar Posts:
Nov 13, 2009
I need encrypt data score from game flash and send it to ASP page, in ASP page, it will decrypt and update Database.
View 5 Replies
Jul 22, 2010
I need to send data from flash to the server, so I'm looking for a flash ActionScript 3.0 script that will encrypt a text and a C# .net script that decrypt the text.
View 1 Replies
Feb 25, 2010
I am developing my application in flex and JSP, so when I am passing values through HTTP Service Post method with request object but these values are tracing and modifying by testing team so I am planning to encrypt values in flex and decrypt it in jsp.so is there any algorithms like SHA or MD5 more secure algorithms,
[Code]...
View 4 Replies
Oct 14, 2011
I'm working on an Windows application(created in .NET) which one of its functions is to play local FLVs using SWF components. Now I need to create an encryption application to make sure those FLVs cannot be played freely, only the SWF player will know how to decrypt that file(using a key received from .NET app). I was thinking of creating an Air app to encode my flvs (maybe ByteArray class?), using some algorithm to shuffle/unshuffle characters based in a key string. My main need is how to encode/decode a file using Air/Flash. I tried some times, just trying to load a FLV, convert to ByteArray, then save the new FLV, but this new FLV won't play. Opening into Notepad++, I noticed the file have a few characters before it's FLV header.
View 2 Replies
Mar 23, 2012
I found something about encrypt and decrypt for AS3 [URL] but the document is not very clearly, how can I do encrypt/decrypt in as3? BTW, what is the suffix of algorithms like ecb, cbc, cfb, cfb8, ofb, what's the means. Which should I use?
View 1 Replies
Dec 16, 2009
I want tp encrypt and decrypt string, with defined salt. But the result must be same if the code run in java and adobe flex.The main goal is: the app in adobe flex will be generate a string that can be decrypt in server using java.Try to 'Secret Key' Tab. I want to use AES Encryption, 'CBC' or 'PKCS5'.
var k:String = "1234567890123456";
var kdata:ByteArray = Hex.toArray(k);
var txt:String = "hello";
var data:ByteArray = Hex.toArray(Hex.fromString(txt));;
[code]....
View 2 Replies
Feb 28, 2012
I was using as3Crypto with no probs [URL] but it produces a string which includes equal (and probably other URL Query unsafe characters). Is there a way to encrypt like this? Current code below:
[Code]...
View 1 Replies
Jan 12, 2010
I have a swf file which contains static text.... Now i want to encrypt and decrypt the static text available inside the output swf file.. Is it possible to do in AS 2.0 .... If it is means then provide some idea to perform these operations
View 8 Replies
Jan 11, 2010
I have encrypted my data using RSA in Asp.net. Now i need to use the data in flex by decrypting it. Could any one guide me how to decrypt the data in Flex which was encrypted in .Net using RSA.
View 1 Replies
Feb 1, 2007
I know, yet another topic on protection. I think we've established the fact that you will almost always will be able to decompile a SWF, but that's not exactly what my question is about. I have a client who wants to show data (some html and css) in a Flash movie. This content will be delivered from an external source and will be passed through to the SWF. The main idea is not to be able to copy-paste the html. Of course, if you use a flashvar to pass the html-source or html-page to the SWF, it's easy to look it up in de pagecode. So perhaps a sollution is to encrypt the html before sending it through to the SWF and decrypt it inside the SWF. But of course, you would need some sort of key that's hardcoded inside the SWF file to decrypt the information ... which is a problem if you can decompile an SWF. So my question is, is there any way to encrypt data delivered to an SWF so it's impossible to directly access the data?
View 4 Replies
Oct 17, 2011
Basically I've set up a scoreboard for a flash game I've made for a client. Now the scoreboard works fine but apparently it's not very secure. One of the clients friends was able to add a score of 100,000 without even playing the game. This is quite a big problem as they are planning on doing a competition with prizes for the highest scores.
What's the normal way to encrypt data on a scoreboard? The scores are stored in a MySQL database btw.
View 1 Replies
Aug 11, 2010
here is a snippet of my code in an as file
ActionScript Code:
class PoolBall extends MovieClip {
private var poolBall:MovieClip;
[code].....
View 4 Replies
May 25, 2011
there are classes definitions where all their methods are private my question is why are they private, because i've tried a code wherein i changed all the private access modifier to public and nothing changed!
what if you make an instance of that class with all its method private, how are you be able to access that on another class. coz i know private methods are only accessible to the class where they are declared! will the instance of that class be able to access the superclass's private methods!
on private variables, it's still not clear to me as to why make a private variable and then use a getter and setter, when you can simply make it public! are these variables called static?cause on the way i understand it private functions and private variables are static?
View 1 Replies
Nov 26, 2006
Okay so you've got your private vars in your AS2 Class, you think they're all safe right? Wrong.
Doing a trace(MyClass.myvar); will spit out an error that the var is private and you can't touch it.
But a trace(MyClass["myvar"]); will work perfectly fine. You can use it normal, without any setters getters outside the class.
Is there a way to protect against this? I think this is a huge security flaw. I know it's simple OOP, but a private var in an object should have rules.
View 7 Replies
Feb 2, 2011
is there a difference between classifying a function 'private' or 'private static' in a singleton? It seems that they both do the same thing. Maybe some difference in performance?
[Code].....
View 10 Replies
Jul 9, 2007
Since I downloaded all kinds of swf crackers to test the encryptor before I buy it, I can't see how they did it. I downloaded all swf crackers again, their latest versions, and still they can't rebuild the fla from my obfuscated swf.So there must be another way! I want to know how they do it, so I can prevent in the future. Apparently, a obfuscation alone isn't enough...
View 14 Replies
Dec 20, 2011
can I de-crpypt a streaming file, (assuming that i encrpyting this file on the server side during upload) , in flex before it being processed for playing.
View 1 Replies
Jul 14, 2009
I'm using as3corelib's MD5 class to encrypt data sent from a flash form.. so far so good... I can validate a user's login and password , no problems the thing is I need to decrypt a value that's stored in the database with an md5 encryption and is sent by the php script to the flash app.
View 2 Replies
Feb 4, 2009
I want to have a SWF file that can show images that encrypted and only swf can
show them! but i don't know how can i Encrypt images and load them into flash
View 9 Replies
Sep 22, 2008
I have recently created my very first game. How should I go about protecting my work? Is there any freeware encryption available?
View 3 Replies
Aug 4, 2009
I am now thinking of encrypting the flv file . is there any way to do this by flex? do you have some tutorial of example to do encrypt the flv file.
View 2 Replies
Jun 28, 2009
Is there any way to encrypt my swf file against hiker?
View 2 Replies
Apr 28, 2010
My company has a application developed by flash. We must encrypt it before release. So is some can tell me how to do it? Is there some very simple but efficient way? Or are there some good sofe for encrypting swf?
View 1 Replies
Apr 29, 2010
I think the simple way to encrypt a swf is using Loader. Adding a chorme to the target swf, so the decompiler can not work.
I'd used serval encrypt tools. Finally, I find a very lite app(air application).
View 13 Replies
Dec 11, 2011
How do you encrypt the password and username for a login form in as3?
View 5 Replies
Dec 8, 2009
i want to make flash programs that send information to the web server that cannot be revealed by the user. of course the user will be able to see that HTTP request that is being sent, but i want to encrypt the data before transferring it. what's the best method to achieve that ?
View 2 Replies
Mar 30, 2010
does anyone know how to encrypt the parameters that are passed to a flash movie? The case is, that the user should not be able to read the parameters in the source code in plaintext.
View 2 Replies
Nov 1, 2011
I have an ant task <encrypt file="${something}.swf"/>. I need the same for Gradle however Google returns zero results about this.
View 1 Replies
Aug 11, 2010
I'm working in an audio player. I'm looking for a way to prevent users download the mp3 files by following the file url ( for example: by using the Firebug o similar).
View 1 Replies