I need help with two things:
Advice on an encryption algorithm that I can use to encode data on the server, send it to AS3 client and decode it there. From what I read, Public - Private Key sound good.
An AS3 library that can encode and decode that is compatible with PHP's bcrypt (again, I read bcrypt is best for this kind of data transmission).
I'm not a security expert, I hope the question is clear and not clumsy.
EDIT: As suggested SSL is a great option, but at the moment I am looking for non-SSL ones.
Thank you.