Wrong BLAKE3-SHA-256/512 checksums with USEHASHCACHE

Hello,

if BLAKE3-SHA-256/512 is used with USEHASHCACHE, the checksums (from NTFS ADS) are always displayed incorrectly after it has been cached.This does not happen with MD5 or SHA-1.

Here is the buttoncode for the checksums column that i use.

<?xml version="1.0"?>
<button backcol="none" display="label" label_pos="right" textcol="none" type="three_button">
	<label>Pr├╝fsummenspalten</label>
	<icon1>#newcommand</icon1>
	<button backcol="none" display="both" label_pos="right" textcol="none">
		<label>MD5</label>
		<tip>MD5 Pr├╝fsummenspalte</tip>
		<icon1>#newcommand</icon1>
		<function type="normal">
			<instruction>@If:Set COLUMNSTOGGLE=md5sum</instruction>
			<instruction>Set COLUMNSREMOVE=md5sum</instruction>
			<instruction>@If:Else</instruction>
			<instruction>GetSizes HASH=md5 USEHASHCACHE </instruction>
		</function>
	</button>
	<button backcol="none" display="both" label_pos="right" textcol="none">
		<label>BLAKE3</label>
		<tip>BLAKE3 Pr├╝fsummenspalte</tip>
		<icon1>#newcommand</icon1>
		<function type="normal">
			<instruction>@If:Set COLUMNSTOGGLE=blake3sum </instruction>
			<instruction>Set COLUMNSREMOVE=blake3sum</instruction>
			<instruction>@If:Else</instruction>
			<instruction>GetSizes HASH=blake3 USEHASHCACHE </instruction>
		</function>
	</button>
	<button backcol="none" display="both" label_pos="right" textcol="none">
		<label>SHA-1 </label>
		<tip>SHA-1 Pr├╝fsummenspalte</tip>
		<icon1>#newcommand</icon1>
		<function type="normal">
			<instruction>@If:Set COLUMNSTOGGLE=shasum</instruction>
			<instruction>Set COLUMNSREMOVE=shasum</instruction>
			<instruction>@If:Else</instruction>
			<instruction>GetSizes HASH=sha1 USEHASHCACHE </instruction>
		</function>
	</button>
</button>


SHA1/256/512 buttoncode.

<?xml version="1.0"?>
<button backcol="none" display="label" label_pos="right" textcol="none" type="three_button">
	<label>Pr├╝fsummenspalten</label>
	<icon1>#newcommand</icon1>
	<button backcol="none" display="both" label_pos="right" textcol="none">
		<label>SHA-1</label>
		<tip>SHA-1 Pr├╝fsummenspalte</tip>
		<icon1>#newcommand</icon1>
		<function type="normal">
			<instruction>@If:Set COLUMNSTOGGLE=shasum</instruction>
			<instruction>Set COLUMNSREMOVE=shasum</instruction>
			<instruction>@If:Else</instruction>
			<instruction>GetSizes HASH=sha1 USEHASHCACHE</instruction>
		</function>
	</button>
	<button backcol="none" display="both" label_pos="right" textcol="none">
		<label>SHA-256</label>
		<tip>SHA-256 Pr├╝fsummenspalte</tip>
		<icon1>#newcommand</icon1>
		<function type="normal">
			<instruction>@If:Set COLUMNSTOGGLE=sha256sum</instruction>
			<instruction>Set COLUMNSREMOVE=sha256sum</instruction>
			<instruction>@If:Else</instruction>
			<instruction>GetSizes HASH=sha256 USEHASHCACHE </instruction>
		</function>
	</button>
	<button backcol="none" display="both" label_pos="right" textcol="none">
		<label>SHA-512</label>
		<tip>SHA-512 Pr├╝fsummenspalte</tip>
		<icon1>#newcommand</icon1>
		<function type="normal">
			<instruction>@If:Set COLUMNSTOGGLE=sha512sum</instruction>
			<instruction>Set COLUMNSREMOVE=sha512sum</instruction>
			<instruction>@If:Else</instruction>
			<instruction>GetSizes HASH=sha512 USEHASHCACHE </instruction>
		</function>
	</button>
</button>

Many thanks, this has been fixed for the next beta.

1 Like