Find a string that corresponds to the algorithm
€8-30 EUR
Maksettu toimituksen yhteydessä
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;
}
}
Projektin tunnus: #21418591
Tietoa projektista
14 freelanceria on tarjonnut keskimäärin €18 tähän työhön
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
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 cli Lisää
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
Hi, I'm harupy, a software engineer from Japan. I'm interested in this project. Looking forward to your reply. Best regards, harupy
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 Lisää
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
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.