7-Zip manual: -scrc (Set hash function) switch

-scrc (Set hash function) switch

-scrc (Set hash function) switch

Sets hash function for "extract" and "hash" commands.



Supported methods: CRC32, CRC64, SHA1, SHA256, BLAKE2sp, *. Default method is CRC32.


7z t -scrcSHA256 archive.gz

tests archive archive.gz and calculated SHA-256 for decompressed data.

7z h -scrcsha1 *.iso

calculates SHA-1 for *.iso files.

7z h -scrc* file.iso

calculates hash values for file.iso file.

Commands that can be used with this switch

h (Hash), e (Extract), x (Extract with full paths)

Other documents on this site: