-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bcrypt "error": "Range check error" #5
Labels
bug
Something isn't working
Comments
Você está usando a versão 1.0.7? |
estou usando o Delhpi 11.0 a versão do Bcrypt é a 0.1.7 |
O meu é Delphi 11.0 e a versão do Bcrypt é a 1.0.7 mesmo.
Iaster
De: Vinicius Sanchez ***@***.***>
Enviada em: terça-feira, 19 de abril de 2022 10:13
Para: viniciussanchez/bcrypt ***@***.***>
Cc: Iaster ***@***.***>; Author ***@***.***>
Assunto: Re: [viniciussanchez/bcrypt] Bcrypt "error": "Range check error" (Issue #5)
Você está usando a versão 1.0.7?
Qual a versão do Delphi que você está utilizando?
—
Reply to this email directly, view it on GitHub <#5 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AYZQNR4SK5SWE2I3IDNZ6VDVF2WPFANCNFSM5TYZGMPA> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AYZQNR3MT2G6QN4VJAKZZCTVF2WPFA5CNFSM5TYZGMPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIG4OHEI.gif> Message ID: ***@***.*** ***@***.***> >
|
Boa tarde, aqui comigo está dando o mesmo erro, estou usando Delphi 11.1 e última versão tbm desse projeto. |
andrewsbejatto
added a commit
to andrewsbejatto/bcrypt
that referenced
this issue
Nov 18, 2022
Correção para o erro: viniciussanchez#5
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
depurando o projeto cheguei na procedure TBCryptImpl.MakeSalt. No bloco :-
while I <= Length(LRandomTemp) do
begin
LByteArray[i] := Ord(LRandomTemp[i + 1]); <--- esta gerando erro aqui, pois o length do LRandom está menor
Inc(i);
end;
Para resolver eu alterei a linha while para ---> "while I < Length(LRandomTemp) do"
The text was updated successfully, but these errors were encountered: