p3drosola
p3drosola

Reputation: 5877

ActionScript3 & Java encryption / decryption

I've got a flash client that communicates with a server. The server-side code is in java. I'd like to be able to encrypt the communication, so it has to be an algorithm that has libraries for both as3 & java.

Speed if more important than the security of the encryption, and ideally it would use asymmetric key encryption.

AES and Blowfish seem like they would work from what I've seen. But both use symmetric keys.

Any ideas?

Upvotes: 0

Views: 1540

Answers (3)

Ryan Christensen
Ryan Christensen

Reputation: 7933

AS3Crypto is a port of the popular Java/C# library BouncyCastle. That works just great.

Upvotes: 1

Kevin Gallahan
Kevin Gallahan

Reputation: 1664

I'm going to be working with encrypting data shortly here. I've chosen to do it using asynchronous RSA encryption.

I'll be using AS3Crypto's RSA encryption client-side with the public key.

Server-side I'll be using JAVA's built-in RSA cryptography to decrypt data with the private key.

Upvotes: 1

Michael Aaron Safyan
Michael Aaron Safyan

Reputation: 95439

It seems like opening an HTTPS connection would be the simplest way to do this.

Upvotes: 2

Related Questions