Skip to content

Commit

Permalink
small fixes for sha2..
Browse files Browse the repository at this point in the history
  • Loading branch information
x09 authored Sep 13, 2024
1 parent df73307 commit 99f1a7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/gethash-cli.lpr
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,10 @@ TMyGetHashCli = class(TCustomApplication)
'sha1':
hash := THashFactory.TCrypto.CreateSHA1().ComputeFile(
_filenames[x]).ToString();
'sha256':
'sha2_256':
hash := THashFactory.TCrypto.CreateSHA2_256().ComputeFile(
_filenames[x]).ToString();
'sha512':
'sha2_512':
hash := THashFactory.TCrypto.CreateSHA2_512().ComputeFile(
_filenames[x]).ToString();
'gost':
Expand Down

0 comments on commit 99f1a7f

Please sign in to comment.