Find Jobs
Hire Freelancers

Find a string that corresponds to the algorithm

€8-30 EUR

Closed
Posted over 4 years ago

€8-30 EUR

Paid on delivery
Hello, I'm looking for a string of numbers of 16 characters that will return true for the following algorithm: public static bool IsValidLicenseNumber(string pLicenseNumber) { try { if ([login to view URL] != 16) { return false; } char[] array = [login to view URL](); char[] array2 = new char[16]; int num = 0; for (int i = 12; i < 16; i++) { for (int num2 = i; num2 >= 0; num2 -= 4) { array2[num2] = array[num]; num++; } } StringBuilder stringBuilder = new StringBuilder(16); [login to view URL](array2); string text = [login to view URL](); string text2 = [login to view URL](0, 13); int num3 = [login to view URL]([login to view URL](13, 3)); char[] array3 = [login to view URL](); for (int j = 0; j < [login to view URL]; j += 2) { string text3 = ([login to view URL](array3[j]) * 2.0).ToString().PadLeft(2, '0'); if ([login to view URL] == 1) { array3[j] = [login to view URL](0, 1)[0]; } else if ([login to view URL] == 2) { array3[j] = [login to view URL](([login to view URL]([login to view URL](0, 1)) + [login to view URL]([login to view URL](1, 1))).ToString()); } } int num4 = 0; for (int k = 0; k < [login to view URL]; k++) { num4 += [login to view URL]([login to view URL](array3[k])); } return num3 == num4 * 6; } catch (Exception) { return false; } }
Project ID: 21418591

About the project

14 proposals
Remote project
Active 4 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
14 freelancers are bidding on average €18 EUR for this job
User Avatar
Hello I have almost 10 years of experience with C# and Microsoft ,NET Framework Looks like it;s easy to trace your script and find string
€10 EUR in 2 days
4.9 (2250 reviews)
8.1
8.1
User Avatar
Hello Sir/ Ma’am We are a group of Software Engineers (Programmers) having 10+ years of experience. Expert in JAVA, C, C++ , C# , Python, ANDROID,IOS, MATLAB, IONIC. Done 40+ projects here on FREELANCER.COM. Please check our profile for reference. The bid is negotiable and we can talk about the price. Thank you
€8 EUR in 1 day
4.8 (445 reviews)
7.8
7.8
User Avatar
I am very proficient in c and c++. I have 17 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
€50 EUR in 1 day
4.9 (206 reviews)
7.3
7.3
User Avatar
Hello Sir/ Ma’am As a highly skilled full stack developer, I have rich experience in JAVA, C, C++, C# Python and ANDROID. I am very confident with my skills and I'd like to help your business by doing my best. My clients have never been frustrated with my work and I hope to make you one of them. I am able to work full time on your timezone and start working right away. Please confirm that I am one of the best fits for you and drop me a message for further discussion. High-quality & Fast-delivery is promised! Thanks and Best Regards
€8 EUR in 1 day
4.9 (167 reviews)
6.0
6.0
User Avatar
Hello, You do NOT have to pay anything until I give you 16 characters number that works with this function. I have studied the code and the key term here is to reach this statement "return num3 == num4 * 6;" with a number so that it returns true. I am currently available and ready to start working on this project. I am looking forward to your reply. Best regards, Farhan
€8 EUR in 1 day
5.0 (83 reviews)
5.5
5.5
User Avatar
I have read your project and I am expert in this field. I can do this for you within due time and honestly. I also have a few questions to discuss. Kindly contact me and we will discuss time and budget. Thanks
€19 EUR in 7 days
4.9 (23 reviews)
4.7
4.7
User Avatar
Hi, I'm harupy, a software engineer from Japan. I'm interested in this project. Looking forward to your reply. Best regards, harupy
€30 EUR in 7 days
5.0 (45 reviews)
4.4
4.4
User Avatar
Hello! I wrote key generator in python. I tested it on C# code that you've provided. Additionally, I wrote basic web server that returns generated keys. I can just send a link to it so you can get as many keys as you want. Or I can just send you this keys with the source code that generates them.
€15 EUR in 1 day
4.9 (2 reviews)
3.0
3.0
User Avatar
Hi, Interesting! Seems like any random 13-character string could be used to make a ‘num4’ and then a ‘num3’ can be easily worked out. Might need to iterate random strings to find a ‘num4’/6 that is less than 1000 for a three digit ‘num3’, but it shouldn’t take it long to find candidates. Putting both together gets you back to text and hence ‘array2’. The nested for loop from ‘array2’ to ‘array’ is reversible and so ‘array’ can be reconstructed. Once again, some iteration on the random strings might be required to eliminate invalid ASCII characters from the result. I don’t think reverse engineering the num4 algorithm would easily produce a way of synthesizing targets, so iterating on random candidates seems like it would get results within a reasonable time. There may be constraints on the random string that would help avoid non ASCII characters and make valid num3 under 1000 to speed it up if I had a proper look. I can make script to do this and find a list of them. Payment on delivery of valid string and code of generator. Kind Regards, James
€30 EUR in 7 days
5.0 (1 review)
1.6
1.6
User Avatar
dear sir, I can do your job perfectly. I am university student in computer science. I have a good c programming knoladge. So i try to do best thing for you because I worth your good review. thank you
€14 EUR in 1 day
5.0 (1 review)
1.3
1.3
User Avatar
Excellent c programming skills Relevant Skills and Experience C programming
€23 EUR in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello. I am a freelancer.I can certainly help you I have used and successfully completed varieties of projects. In addition, I have the ability to give you the result on time and with precision. I hope a positive answer.
€8 EUR in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Tenho disponibilidade imediata Relevant Skills and Experience Java e minha expertise
€14 EUR in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I am an IT engineer who works in a big company. Due to the needs of the company, I have completed much more difficult projects than this, I will have no difficulty in completing it.
€8 EUR in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of BELGIUM
Anzegem, Belgium
5.0
41
Payment method verified
Member since Aug 30, 2014

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) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
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.