The purpose of the Perl CGI script is to take UTF8 parameters, perform a computation, and return the result in ASCII form.
Your task is to convert the short Perl script to PHP 5. Most of the Perl script is taken up by pure-Perl implementations of MD5, Base32. Please do not re-write these, but use official PHP 5 API functions, or common extensions. If you use any third-party code, such as open-source, please provide the original link.
Success will be based upon:
- input tests producing output data which is correct (to be confirmed by me)
- script running in Resin environment (to be confirmed by me)
[url removed, login to view]
Please provide details / examples of your experience with Perl and PHP. This is a relatively simple job for an experienced programmer.