Find Jobs
Hire Freelancers

String encrypt in PHP, decrypt in Delphi

$30-5000 USD

In Progress
Posted over 12 years ago

$30-5000 USD

Paid on delivery
I need you to write two pieces of code. Implement function encrypt($data) in PHP. The function encrypts a given string data and encodes the result to be url safe. A checksum is also added to the result. Implement Function Decrypt(data : String; var Log : TStringList) : String; in Delphi. The function decrypts given data encrypted by the PHP function code. The Decrypt function also checks the checksum added by encrypt(). If an error occurs, such as the checksums do not match, return an empty string and write an error message to the given Log. The Log is used for debug purposes, so use it to report the process of the Decrypt process. You can use whatever encryption algorithm and checksum algorithm you want, but the algorithms must be off-the-shelf, i.e. not custom made. The encoding algorithm can be custom made. If you can implement any algorithm, implement AES, Twofish or Blowfish. For the encryption password, use "Foobar". Usage example: [login to view URL] contains the Encrypt function and it outputs the result to the screen. So a Delphi program with Decrypt function included, can execute [login to view URL], get the encrypted data, decrypt it and show it to the user. Note: Both functions must be unicode safe. I.e. the data can contain unicode characters. The Delphi code must work under Delphi 2010.
Project ID: 3480311

About the project

3 proposals
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
Awarded to:
User Avatar
See private message.
$34 USD in 5 days
5.0 (10 reviews)
2.8
2.8
3 freelancers are bidding on average $88 USD for this job
User Avatar
See private message.
$187 USD in 5 days
4.9 (4 reviews)
3.3
3.3
User Avatar
See private message.
$42.50 USD in 5 days
0.0 (0 reviews)
2.3
2.3

About the client

Flag of THAILAND
Turku, Thailand
5.0
591
Payment method verified
Member since Mar 16, 2011

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.