Giter Club home page Giter Club logo

hashing's Introduction

Love, work and knowledge are the wellsprings of our lives, they should also govern it.

hashing's People

Contributors

hellzerg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hashing's Issues

[Feature request] Navigate to add files/folders

Referencing #3, I'd like to add that once in a while I have a program that won't play drag-and-drop nicely with other programs (notably CubicExplorer often has issues but sometimes Win10 seems to randomly disable that functionality). As such I'd also suggest an ability to navigate to add files and folders (rather than exclusively relying on drag-and-drop). Ideally that should have a text entry available so you can paste in directory values e.g. "c:\temp".

Thanks!

[Bug 3.4] Crash When Input Large Number of Files

I dragged a directory containing a very large amount of files (88,000) into the program. It seemed that the calculation of hashes proceeded fine, as the number increased until it reached maximum at 88000/88000. However, once that was completed the program went unresponsive as it tried to display the list of files. I waited for a while, but it continued to hang at the display of 88000/88000 and did not proceed.

OS: Windows 10 Pro

[Feature request] Generate relative path hashes

Current behavior

The program writes JSON files to static file destinations e.g. c:\test\file.txt ... this is very useful because it's always easy to find and check files, but if the folder is removed or the files are moved to a different location/drive, the program will throw errors:

image

Requested behavior

Ability to save to relative folders e.g. c:\verification-file.json which would use links like test\file.txt.

Who would use this?

Individuals checking files on:

  • Cloud sync services
  • Removable media
  • Backups that save to a folder different from the original

Possible issues

This is a non-simple feature request because one of the following must happen:

  • The verification file would need to remain in the same place relative to the folder it's verifying (for example if verifying c:\test, the verify file would need to be on the _c:_ drive. This could be a problem if for example the _c:_ drive isn't accessible as root folder access may be disabled by the admin.
  • The user would need to specify the root folder location. This might be a problem because whether the root folder is _c:_ or c:\test is not clear and the user may have to test a few times to find the correct root or research the contents of the JSON file.

[Feature Request] In Find Identicals, Add Show File

In the Find Identicals tab, allow the user to right click on a file path and click on Show File, the same as in the main list. This would drastically speed up the navigation to duplicates for deletion or what have you.

v2.5 request 1: "List JSON files" and drag and drop new folder, the json list doesn't disappeared. request 2: "List JSON files" can click "Find Identicals" to compare the same hash.

on PC1 i drag and drop "E:\abc" folder and save as "e.json" file.
i copy the "e.json" file and this program to PC2(another computer which there is no "E:\abc" folder and files).
on PC2, i run this program and drag and drop "e.json" file and click "List JSON files". the list1 is:
E:\abc\a.txt
E:\abc\b.txt
E:\abc\test\1.txt
E:\abc\test\2.txt
E:\abc\test\3.txt
(01.png)
01

on PC2, i drag and drop "D:\123" folder, the list1 disappeared and the list2 is:
D:\123\t1.txt
D:\123\t2.txt
(02.png)
02

it would be nice if the final list is:
E:\abc\a.txt
E:\abc\b.txt
E:\abc\test\1.txt
E:\abc\test\2.txt
E:\abc\test\3.txt
D:\123\t1.txt
D:\123\t2.txt

if so, i can click "Find Identicals" button to compare the same hash even if the item(filepath) doesn't exist.
(03.png)
03


request 2 is "List JSON files" can click "Find Identicals" to compare the same hash.
on PC1 i drag and drop "E:\abc123" folder and save as "a1.json" file.
(a1.png)
a1

restart the program, drag and drop "a1.json" file and click "List JSON files" and click "Find Identicals" button, it display "No identical files have been found!". however, "a.txt" and "t1.txt" are the same hash files.
(a2.png)
a2

Trojan

I downloaded the hashing from this link and uploaded it to virustotal.com, and it claimed that it has a Trojan.Malware.300983.susgen, is it safe to run it?
image

Option for selecting hash type at "Compare files" window (feature request).

Hi! :-)

When opening the "Compare files" window, the default MD5 hash is always selected.
(Screenshot attached).

It wold be nice at my opinion, if there was an option, for choosing the default hash type, or just remembering what hash type last used and autochoosing it.

Personally speaking, the most frequent hash type I'm dealing with, is SHA1, and every time I have to choose it again.

TIA! :-)
A.

screenshot

Add support for Dropbox API's Content_Hash?

Are there any plans to add support for Dropbox API's content_hash?

To calculate the content_hash of a file:

  • Split the file into blocks of 4 MB (4,194,304 or 4 * 1024 * 1024 bytes). The last block (if any) may be smaller than 4 MB.
  • Compute the hash of each block using SHA-256.
  • Concatenate the hash of all blocks in the binary format to form a single binary string.
  • Compute the hash of the concatenated string using SHA-256. Output the resulting hash in hexadecimal format.

More info regarding it can be found here:
https://www.dropbox.com/developers/reference/content-hash

Here's the repo with example code in popular languages:
https://github.com/dropbox/dropbox-api-content-hasher

Batch analyze generated JSON files

I occasionally do batch file verification for file lists. I generally put these on CDs to help detect scratches or external USB drives that I need to connect to untrusted machines. The hash listings let me verify I have what I started out with.

Current behavior:

  1. Drag-and-drop a JSON file
  2. The program analyzes the JSON file itself and not the hashes listed within

Requested behavior

  1. Drag-and-drop a JSON file
  2. Check that the first few characters look like a file generated by the hashing program:
[
  {
    "File": " 
  1. Prompt the user to run a check of the files listed in the locations inside the JSON file so, for example:

image

... would have an MD5 and CRC32 analysis run.

  1. If the values were identical to the JSON file, a checkbox (or green text color) would appear to demonstrate that the file is the same. If the values were different, an X (or red text color) would appear to demonstrate the files are different.

Additionally, it would be ideal if the file used relative links so that CD or USB drive locations whose letters change can still be checked. e.g. "..\temp\Temp.7z"

I hope that's useful.

On Top

To facilitate adding files via drag&drop I would like to suggest that you implement a new feature:

"Stay on Top" or just "On Top"

You may add it as an option in "Options" or even better as a button in program window (toggled on/off).

As a workaround I use an external tool- SmartSystemMenu, screen:

hashing 2 0 - 2018-05-14 - 030

but native support for "On Top" would be better.

Off-topic
I wrote a short review about Hashing at The Portable Freeware Forum, I hope I didn't miss something essential.

Show unique files

Hi,

Currently the app can show identical files with "Find Identicals". It would be great if it could list the unique files too. For example, if you add 100 files consisting of 50 unique files with 2 copies each, you have to count that there are 50 files in "Find Identicals" to confirm this.
If there was a view that showed the unique files this could be done much faster. The view could either show every file, but with identicals grouped together (so similar to "Find Identicals" but with single copy files appended to the list). Or a view that only shows files with 1 copy (so the complement to the "Find Identicals" view).

Kind regards,

Text blurry / Display scaling support

Hi,

Thanks for making this great program. Out of all that I tried, this one is the best.

I notice that the text looks a bit blurry. Is this because it doesn't support high DPI monitors or display scaling?

Thanks again.

Hashing(v3.7) calculating is slower than My Hash(v1.4.7)

Hashing(v3.7) calculating is slower than My Hash(v1.4.7)

My Hash(v1.4.7):0m12.56s
文件名称: zh-cn_windows_10_business_editions_version_22h2_updated_dec_2022_x64_dvd_cde06342.iso 文件大小: 5.55 GB (5,964,230,656 字节) 修改时间: 2022年12月24日,09:28:16 MD5: DF57824E84BB5375C9FC3AF4CAD58926 SHA1: C7C877210AC645C29574E1F110B0277932380A14 SHA256: 3CB92FAD8934C3C1A4827C290B4BC2C11331C84923B07FFECB2250C87CC4FC53 CRC32: C7BBE678 计算时间: 12.56s (474.78 MB/s)
https://github.com/drag0n-app/MyHash

Hashing(v3.7):0m22s

    "File": "E:\\Bakup\\zh-cn_windows_10_business_editions_version_22h2_updated_dec_2022_x64_dvd_cde06342.iso",
    "SHA1": "C7C877210AC645C29574E1F110B0277932380A14",
    "SHA256": "3CB92FAD8934C3C1A4827C290B4BC2C11331C84923B07FFECB2250C87CC4FC53"

Options (features request).

Hi! :-)

Hashing is a very good hashing utility.
In order to be perfect (at my opinion), additionally needs:

  1. A SHA512 sum. Some sites offering this option too.
  2. An option for entering the hash sum and comparing against the results (if it's true or false).
  3. An option for choosing which hashes you want to calculate. Calculating all of them, is probably a waste of time, for big files (eg. a Linux DVD ISO, can be >4GB.

And optionally (but not absolutely needed):

  1. Option to close it, on a tray icon. Reloading it every time can be a waste of time.
  2. Option to assign it high priority. (Again, useful for big files).

Keep up the good work!!! ;-)
A.

v2.7 need some fix

fix1:
when select a theme, there's no language selection.
when select a language, there's no theme selection.
fix1

fix2:
"Identical files" window is still english not chinese.
(english) --> (chinese)
Identical files --> 相同的文件
Copy --> 复制
Save as JSON --> 另存为JSON
fix2

fix3:
i fix some part of "CN.json" file and uploaded here:
CN.json.txt

Virustotal check issue

Setup: Win7x86

Steps:

  1. Change hash to CRC32
  2. Right click on an item and submit to virustotal

Defect: Error message: "VirusTotal recognizes files only by their MD5, SHA1 or SHA256 hash!"

Expected behavior:

  • Error message above but also prompt the user "Do you wish to switch to SHA256 for this operation?" Once the user says yes, a browser window will be launched with the VirusTotal URL and the SHA256 value will appear in the Hashing program window.
  • Just run SHA256 hash and open in the browser Window.

--

Also, for security reasons I'd also suggest not using the MD5/SHA1 capability and exclusively submit SHA256 values even if it slows down the program. Both MD5 and SHA1 hashes are considered insecure.

v3.7 in CN version one item still display EN words.("Show file" to "显示文件")

click "Find Identicals" button, select one path item and click right click, the CN version still display "Show file"(should translate to "显示文件" in Chinese).

enver:
enver

cnver:
cnver

need translate "Show file" to "显示文件" in Chinese.

it's the same translation as "toolStripMenuItem4" in v3.7.

in v3.7 EN.json
"toolStripMenuItem4": "Show file",

in v3.7 CN.json
"toolStripMenuItem4": "显示文件",

[Feature request] Progress bar, pause, and cancel option

Thought this would be a nice addition ...

Current behavior

  1. Drag and drop files into program window
  2. Text "Calculating" appears
  3. When finished, displays files, directory, and hashes

Requested behavior

  1. Drag and drop files into program window
  2. A few elements:
  • Text "Calculating" appears along with a pause and cancel button
  • A bar or % value (or both) displaying progress as the files are read
  • A pause button stops operations until pause is pressed again or the cancel button is pressed
  • Cancel ends the hashing calculation operation and whatever files were evaluated before cancel was pressed are displayed
  1. When finished, displays files, directory, and hashes along with total files and amount of data evaluated, as well as the time the process took (e.g. 32 files, 200 megs, 14 secs

Single Instance

Currently, as of version 2.0 the users may run multiple instances of Hashing. This is not a bad thing but anyway, you may add a new check-box in "Options":

"Single Instance"

I suppose this option would not be hard to be implemented.

sry for my mistake, v2.8 need two fix

fix1:
"lblversion": "Version: {VN}",
"lblversion": "版本: {VN}",
when i first run this program and select chinese, it's "版本: 2.8", but after i close the program and run it again, it display "Version: 2.8".
fix1

fix2:
sry for my mistake, i uploaded new "CN.json":
CN.json.txt

"button7": "确定",
"chkSingleInstance": "只能运行一个本程序",
it's better to understand for chinese people.

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.