Closed

Reverse some C# code

Hello, I need to reverse some C# code, the code computes a hash, i need to generate hashes that pass this hashing test.

public static string ComputeHash(string serial)

{

string str = "";

byte[] buffer = new byte[32];

byte[] numArray1 = new byte[16];

byte[] numArray2 = new byte[16]

{

(byte) 59,

(byte) 67,

(byte) 235,

(byte) 54,

(byte) 183,

(byte) 124,

(byte) 22,

(byte) 65,

(byte) 172,

(byte) 154,

(byte) 31,

(byte) 14,

(byte) 188,

(byte) 91,

(byte) 48,

(byte) 41

};

long num = [login to view URL](serial, [login to view URL]);

byte[] numArray3 = (byte[]) null;

if ([login to view URL] == 16)

{

byte[] bytes = [login to view URL](num);

[login to view URL]((Array) bytes, 0, [login to view URL]);

[login to view URL]((Array) bytes, (Array) numArray1, [login to view URL]);

for (int index = 0; index < 8; ++index)

buffer[index] = (byte) ((uint) numArray1[index] ^ (uint) numArray2[index]);

[login to view URL]((Array) [login to view URL]("GameGenie"), 0, (Array) buffer, 8, "GameGenie".Length);

numArray3 = [login to view URL]().ComputeHash(buffer, 0, 8 + "GameGenie".Length);

}

else if ([login to view URL] == 20)

{

byte[] bytes = [login to view URL](num);

[login to view URL]((Array) bytes, 0, [login to view URL]);

[login to view URL]((Array) bytes, 0, (Array) numArray1, 4, [login to view URL]);

for (int index = 0; index < 12; ++index)

buffer[index] = (byte) ((uint) numArray1[index] ^ (uint) numArray2[index]);

[login to view URL]((Array) [login to view URL]("GameGenie"), 0, (Array) buffer, 12, "GameGenie".Length);

numArray3 = [login to view URL]().ComputeHash(buffer, 0, 12 + "GameGenie".Length);

}

if (numArray3 != null)

{

for (int index = 0; index < [login to view URL]; ++index)

str += numArray3[index].ToString("X2");

}

return str;

}

Skills: C# Programming

See more: reverse engineer code java, reverse bid code, reverse compile code, reverse engineer code, reverse engineer code download, reverse exe code, jobs reverse engineering code denmark, php reverse auction code, reverse alphanumeric code, reverse dll code, reverse engineering code dll, reverse source code, reverse engineering code, reverse auction code, reverse access code mde file, reverse vba code access, reverse engineering code injection, reverse engineer code exe, reverse rolling code

About the Employer:
( 2 reviews ) llanelli, United Kingdom

Project ID: #17793532

13 freelancers are bidding on average £19 for this job

asadrana91

hello I have Seen your code and I can generate the code computes a hash, i need to generate hashes that pass this hashing test. Please come to chat so that we can further discus about your project in more details. T More

£18 GBP in 1 day
(28 Reviews)
6.0
lashabuxo

Hey, I've got a big experience in C# programming and knowledge of hashes as well. Check my profile for sure!

£15 GBP in 1 day
(21 Reviews)
5.5
deepthi2889

Hi, The method you provided in the description does the following Input:1231231231231231 Output: 6C8F4EB8B102CA1B6178FF13ADA9442A25B00DAE Do you want a method which does the following??? Input: 6C8F4EB8B1 More

£33 GBP in 1 day
(11 Reviews)
4.0
dev7fares

Hello my name is Fares, i can get it done perfectly as you want let's chat when you are online,Thanks

£20 GBP in 2 days
(10 Reviews)
2.6
£33 GBP in 1 day
(3 Reviews)
2.4
Jperamo

Hello, Im skilled in .NET reversing. I've worked for well known obfuscators such as ILProtector or Babel, deobfuscating your software wont be any difficult for me. I'll only require the binary (file) and few hours More

£18 GBP in 1 day
(0 Reviews)
0.0
stevenlarson

I am quite fluent in C# programming, and I would be able to reverse the code to get you hashes that work.

£10 GBP in 1 day
(0 Reviews)
0.0
MoiezM11

Hi! Thank you for giving me an opportunity to bid on this project. I am into the computer science field for over 3 years with certifications in various programming languages. I have being working in C# for over a More

£18 GBP in 2 days
(0 Reviews)
0.0
Youssef1313

Hi :) SHA1 is a one-way hashing. Here is an MSDN link that states it clearly. [login to view URL] And More

£18 GBP in 1 day
(0 Reviews)
0.0
vw7431837vw

Over 6 years of work experience in C#.Net, VB.Net, ASP.Net, VB6.0 with a good background in Web development & Windows mobile development

£21 GBP in 3 days
(0 Reviews)
0.0
pmrnet

As I have 10+ years of experience, I can do the best and quick your needs. C# I have done many logic. it seems I can make it.

£21 GBP in 1 day
(0 Reviews)
0.0
nadanaoushi

I will give you the reverse code for 13.5 GBP, & delivery in 1 day from now. I've been working on c# for 7 years now

£13 GBP in 1 day
(0 Reviews)
0.0
Kiselichnik

I'm from Ukraine and I'm a student. For 3 years I have been studying and working with the .net platform. I work with WPF, ASP.Net Core; I have experience in MS SQL, MongoDb, Oracle

£13 GBP in 1 day
(0 Reviews)
0.0