This commit is contained in:
vxunderground 2021-11-12 23:00:02 -06:00
commit 0eb3ff7e88
2 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ PCHAR GeneratePseudoRandomStringA(SIZE_T dwLength)
for (INT dwN = 0; dwN < dwLength; dwN++)
{
INT Key = PseudoInlineRandom() % (INT)(StringLengthA(DataSet) - 1);
INT Key = PseudoRandomInteger() % (INT)(StringLengthA(DataSet) - 1);
String[dwN] = DataSet[Key];
}
@ -33,4 +33,4 @@ PCHAR GeneratePseudoRandomStringA(SIZE_T dwLength)
//YOU MUST FREE THE RETURNED STRING WITH HeapFree
return String;
}
}

View File

@ -21,7 +21,7 @@ PWCHAR GeneratePseudoRandomStringW(SIZE_T dwLength)
for (INT dwN = 0; dwN < dwLength; dwN++)
{
INT Key = PseudoInlineRandom() % (INT)(StringLengthW(DataSet) - 1);
INT Key = PseudoRandomInteger() % (INT)(StringLengthW(DataSet) - 1);
String[dwN] = DataSet[Key];
}
@ -33,4 +33,4 @@ PWCHAR GeneratePseudoRandomStringW(SIZE_T dwLength)
//YOU MUST FREE THE RETURNED STRING WITH HeapFree
return String;
}
}