Skilled developer to convert Python and C code to C# for .NET
Closed - This job posting has been filled and work has been completed.
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)))
self.to_screen('encrypted signature length %d.%d' % (len(a), len(b)))
b = ''.join([b[:8],a,b[9:18],b[-4],b
a = a[-40:]
s_dec = '.'.join((a,b))[::-1]
Payment upon completion. No advance payment is provided. This job must be completed within 24 hours.