Skip to content

Commit

Permalink
Update BCrypt.Core.pas
Browse files Browse the repository at this point in the history
Correção para o erro: #5
  • Loading branch information
andrewsbejatto committed Nov 18, 2022
1 parent c2986ec commit 5c4f16b
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 5c4f16b

Please sign in to comment.