Skilled developer to convert Python and C code to C# for .NET

Closed - This job posting has been filled and work has been completed.
Web, Mobile & Software Dev Desktop Software Development Posted 1 year ago

Fixed Price

Delivery by June 27, 2013

$100.00

Budget

Details

We need the following code translated to C# for use in a .NET application:

def _decrypt(self, s):
        (a,b) = s.split('.')
        if len(a) != 43 or len(b) != 43:
            raise ExtractorError(u'Unable to decrypt signature, subkeys lengths %d.%d not supported; retrying might work' % (len(a), len(b)))
        if self._downloader.params.get('verbose'):
            self.to_screen('encrypted signature length %d.%d' % (len(a), len(b)))
        b = ''.join([b[:8],a[0],b[9:18],b[-4],b[19:39], b[18]])[0:40]
        a = a[-40:]
        s_dec = '.'.join((a,b))[::-1]
        return s_dec

Source: https://github.com/rg3/youtube-dl/commit/b37fbb990bd29521f5891b0874bb485eb72981fc

Payment upon completion. No advance payment is provided. This job must be completed within 24 hours.


About the Client

(4.95) 98 reviews

Mexico
Cancun 02:56 PM

307 Jobs Posted
48% Hire Rate, 1 Open Job

Over $50,000 Total Spent
169 Hires, 4 Active

$2.88/hr Avg Hourly Rate Paid
27,756 Hours

Member Since Jan 4, 2009