Skip to content

Commit

Permalink
Update password.c
Browse files Browse the repository at this point in the history
minor update
  • Loading branch information
agungss authored Dec 9, 2020
1 parent de3eb3b commit 45165f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions password.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int main(int argc, string argv[])

int nPass = 0;
int passLength = 0;
char huruf[46] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~!@#$%^&*()-+{}:<>?";
char huruf[72] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~!@#$%^&*()-+{}:<>?";
char angka[11] = "0123456789";

char *hurufPtr;
Expand All @@ -48,7 +48,7 @@ int main(int argc, string argv[])
printf("Password number %d: \n", i + 1);

for(int j = 0; j < passLength-2; j++) {
printf("%c", huruf[findCharNum(45)]);
printf("%c", huruf[findCharNum(71)]);
}

for(int j = 0; j < 2; j++) {
Expand Down

0 comments on commit 45165f4

Please sign in to comment.