Giter VIP home page Giter VIP logo

Comments (6)

nkh0472 avatar nkh0472 commented on May 28, 2024

Look at here, this project has implemented the feature I mentioned. https://github.com/emoacht/HashPad

from openhashtab.

namazso avatar namazso commented on May 28, 2024

not sure why but that program doesn't seem to run on my VM:
image

Anyways, whenever you have a hash on your clipboad, it is automatically pasted into the find window and searched for in all hashes, so that's pretty much the behavior already as long as you have the given algorithm enabled.

Or did you mean it so that whenever a hash is found on clipboard it should automatically enable algorithms of that length? In that case, I could probably do that however considering we have SHA3 in 3 different lengths with terrible performance auto-enabling those when not needed might be a really bad idea.

from openhashtab.

nkh0472 avatar nkh0472 commented on May 28, 2024

Or did you mean it so that whenever a hash is found on clipboard it should automatically enable algorithms of that length?

That's it.

not sure why but that program doesn't seem to run on my VM

I'm not sure why it couldn't work. Actually, I'm using your software, so I didn't buy HashPad from Microsoft Store (and I didn't install complier so I can't compile it myself).
However, the author of that project mentioned he has already implemented the function I said:
emoacht/HashPad#4 (comment)

however considering we have SHA3 in 3 different lengths with terrible performance auto-enabling those when not needed might be a really bad idea

For SHA3, maybe give a popup window to select?

from openhashtab.

namazso avatar namazso commented on May 28, 2024

However, the author of that project mentioned he has already implemented the function I said:

Easy for them, they carry one algorithm of each length. Say, you have a 256 bit hash on clipboard. That'd need to enable SHA-256, Blake2sp, SHA3-256, BLAKE3 here.

For SHA3, maybe give a popup window to select?

I just picked SHA3 as an example really because its performance is really awful compared to others, but even in general if you have a BLAKE3 hash (throughput of 3 GB/s on my machine) you probably wouldn't want to waste time calculating even SHA-256 (throughput of 200 MB/s on my machine).

I guess I could add a popup enabled by a setting, asking you to select the algorithm, but it'd really remove simplicity. Plus it's a whole new dialog, making those in win32 is painful. In dev builds you can simply cancel, select algorithms needed, then re-open anyways.

from openhashtab.

nkh0472 avatar nkh0472 commented on May 28, 2024

LOL, if it is too hard to implement, forget about it!
"Cancel" is enough for use.

from openhashtab.

namazso avatar namazso commented on May 28, 2024

Not long ago I made algorithms modifiable (programmatically, not for the user) during initialization for allowing algorithm auto-enable for sumfiles based on extension. That made implementing this much easier.

By default it's only enabled for when no algorithms of matching length are selected, to prevent users from accidentally causing performance problems:

image

from openhashtab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.