# as3 php encrypt/decrypt sending data

**URL:** <https://forum.kirupa.com/t/as3-php-encrypt-decrypt-sending-data/303340>\
**Category:** flash\
**Created:** [January 18, 2010, 11:55pm UTC](https://forum.kirupa.com/t/as3-php-encrypt-decrypt-sending-data/303340 "2010-01-18T23:55:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sorcery](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@sorcery](https://forum.kirupa.com/u/sorcery)\
**Post date:** [January 18, 2010, 11:55pm UTC](https://forum.kirupa.com/t/as3-php-encrypt-decrypt-sending-data/303340/1 "2010-01-18T23:55:29Z")

</div>

Hi

I’m trying to develop an application for exchanging data (desktop/server), i need to send the same data from Flash to PHP

I have tried with as3crypto but , when i try to decrypt the encrypted string in as3, the result isn’t an original string.

Does anybody know a php (decrypt)/as3(encrypt) script to encrypt/decrypt string which works?!

Thanks a lot.
