I would need you to implement function in Delphi:
Function CompressEmailList(const List : TStringList) : String; where the input list contains email addresses (1..n). The output contains the input data in URL safe string form (e.g. Base64 encoded) and the data is also compressed.
For testing purposes, also implement
Procedure DecompressEmailList(const Input : String; var Output : TStringList); which decompresses the given input string, which has been generated using CompressEmailList(). In case of error, an empty Output is returned.
In addition, I need the DecompressEmailList implemented also in PHP. The function could, for example, simply output to screen (i.e. echo) the decompressed list of email addresses.
You should in this task use the information that the data is a list of email addresses, which should give you good ideas how to compress it. For example, the code can come with a built-in wordlist of most common strings found in email addresses. I can give you test material (lists of email addresses) if you want.
Please tell me how much time you would need to do this and how much money.