[Implemented] SHA-3 file extension bindings.

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
lelik007
Member
Member
Posts: 173
Joined: 2021-04-20, 06:37 UTC

[Implemented] SHA-3 file extension bindings.

Post by *lelik007 »

2ghisler(Author)
Christian, please, bind these file extensions with TC's checksum module:
.sha3-224
.sha3-256
.sha3-384
.sha3-512
because more SW create them in the format above, rather than sha3_256, for example.
There's actually only one utility I can remember creates them like this except TC.
I take this guy as my witness.
https://sourceforge.net/p/sevenzip/discussion/45797/thread/b95432c7ac/#cf26/9595/1f6f

This is for you choice, but you even can redo how they're created because their extensions are their actual names .sha3-xxx , not .sha3_xxx.
https://en.wikipedia.org/wiki/SHA-3#Instances
Last edited by lelik007 on 2024-12-04, 21:08 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: SHA-3 file extension bindings.

Post by *ghisler(Author) »

OK, no problem, I will add them. However, when creating SHA3 hashes, I will still create just .sha3 as extension, because the hash length already determines the used algorithm.
Author of Total Commander
https://www.ghisler.com
lelik007
Member
Member
Posts: 173
Joined: 2021-04-20, 06:37 UTC

Re: SHA-3 file extension bindings.

Post by *lelik007 »

2ghisler(Author)
Thank you, adding the extensions I mentioned for TC's checksum module will improve compatibility with the other SW
and these file extensions are used only for the corresponding methods in Windows.
Yes, I know this feature:
I will still create just .sha3 as extension, because the hash length already determines the used algorithm.
So for the creation let it stay as It is.
lelik007
Member
Member
Posts: 173
Joined: 2021-04-20, 06:37 UTC

Re: SHA-3 file extension bindings.

Post by *lelik007 »

2ghisler(Author)
Thank you, but:
1. .sha3-256 is still missing.
2. There are some errors in there even with .sha3 extensions.

In the header for .sha3-224 is shown sha2_224
and for sha3-384 is shown sha2_384
https://www.upload.ee/image/17471045/SHA_missmatch.jpg

for .sha3-256 .sha3-512 the methods in the header are shown correctly.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: SHA-3 file extension bindings.

Post by *ghisler(Author) »

1. What do you mean? I tried naming a file test.sha3-256, and it has the right icon and Enter verifies it. If you don't get this behavior, it means that another program is associated with the .sha3-256 extension. What happens when you double click it?
2. You are right, it should show sha3.
Author of Total Commander
https://www.ghisler.com
lelik007
Member
Member
Posts: 173
Joined: 2021-04-20, 06:37 UTC

Re: SHA-3 file extension bindings.

Post by *lelik007 »

2ghisler(Author)
I see, yes with LKM TC calculates it, I'll show you what confused me: the empty icon compared to sha3:
Image: https://www.upload.ee/image/17471691/SHA3-Icon.jpg
I fixed it, that was an old SW association.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [Implemented] SHA-3 file extension bindings.

Post by *ghisler(Author) »

Indeed when TC detects an association it uses the icon from that.
Author of Total Commander
https://www.ghisler.com
lelik007
Member
Member
Posts: 173
Joined: 2021-04-20, 06:37 UTC

Re: [Implemented] SHA-3 file extension bindings.

Post by *lelik007 »

2ghisler(Author)
I deleted that old association and it's OK now.
lelik007
Member
Member
Posts: 173
Joined: 2021-04-20, 06:37 UTC

Re: [Implemented] SHA-3 file extension bindings.

Post by *lelik007 »

2ghisler(Author)
I checked, you fixed how the sums were not correctly shown in the header, now they're correct, thank you.
Post Reply