Skip to content

Commit

Permalink
Merge pull request #6 from andrewsbejatto/master
Browse files Browse the repository at this point in the history
Update BCrypt.Core.pas
  • Loading branch information
viniciussanchez authored Feb 6, 2023
2 parents c2986ec + 5c4f16b commit 280a434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BCrypt.Core.pas
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function TBCryptImpl.MakeSalt: TBytes;
Randomize;
LRandomTemp := MTRandomBytes(BCRYPT_SALT_LEN);
I := 0;
while I <= Length(LRandomTemp) do
while I < Length(LRandomTemp) do
begin
LByteArray[i] := Ord(LRandomTemp[i + 1]);
Inc(i);
Expand Down

0 comments on commit 280a434

Please sign in to comment.