Find Jobs
Hire Freelancers

Convert PHP function to AS3

$25-30 USD

Cancelled
Posted about 13 years ago

$25-30 USD

Paid on delivery
I need the decryption function below converted into AS3. ## Deliverables I need the following PHP function converted to AS3: function _decrypt($buffer, $key) { $decrypted = ""; $k2 = $key; $k2 = $k2 * 3; for ($i = 0; $i < strlen($buffer); $i += 4) { $s = substr($buffer, $i, 4); list($i2) = array_values(unpack("V", $s)); // little endian $i2 = $i2 ^ $k2; $s2 = pack("V", $i2); $decrypted .= $s2; } $decrypted = strrev($decrypted); return $decrypted; } To test your decryption, you will need to do the following: Write an SWF that calls the following script and decodes the result: [login to view URL]{any number} The decrypted result will be an encrypted XML formatted file. I am including the [login to view URL] file and the XML file it is encoding and returning.
Project ID: 3228713

About the project

Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
User Avatar
See private message.
$25.50 USD in 2 days
5.0 (8 reviews)
3.1
3.1

About the client

Flag of THAILAND
Freaky city, Thailand
0.0
0
Payment method verified
Member since Jul 13, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.