x64 (27.00.0912) special property hash returns zeros

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
daniel_m
Posts: 223
Joined: 11 Apr 2010 11:47
Location: Windows 10 Pro 22H2, scaling 100%

x64 (27.00.0912) special property hash returns zeros

Post by daniel_m »

I use prop:#hash.sha1 in a script:

Code: Select all

folderreport("filesrel:{fullname}<tab>{prop:#hash.sha1}<tab>{size br}","c",,"r");
and the hashes of all files is a string of 40 zeros. The only hash algorithm that returns results is CRC32. The others, MD5, SHA1, SHA256, and SHA512 all return a string of zeros corresponding to the hash's expected length. The runtime of the script suggests that XYplorer is actually calculating hashes, just not returning them.

The latest x86 version (27.00.0915) works fine.
XYplorer x64 (often the latest beta), Windows 10 Pro 22H2, 3840x2160 scaling 100%

highend
Posts: 14940
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: x64 (27.00.0912) special property hash returns zeros

Post by highend »

Code: Select all

text property("#hash.sha1");

Code: Select all

The parameter is incorrect.

D:\nvim_x64_working.zip
@daniel_m
I've reformatted your post.
Don't use long script code in inline code tags, they'll break
One of my scripts helped you out? Please donate via Paypal

daniel_m
Posts: 223
Joined: 11 Apr 2010 11:47
Location: Windows 10 Pro 22H2, scaling 100%

Re: x64 (27.00.0912) special property hash returns zeros

Post by daniel_m »

Thanks @highend, I will keep this in mind 🙂
Reducing the code to the only non-working part was a good idea 😁
XYplorer x64 (often the latest beta), Windows 10 Pro 22H2, 3840x2160 scaling 100%

admin
Site Admin
Posts: 66224
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: x64 (27.00.0912) special property hash returns zeros

Post by admin »

Thanks, fixed in next beta. :tup:

Post Reply