Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [hashing]

The tag has no usage guidance.

16
votes
6answers
3k views

How to compare parts of files by hash?

I have one successfully downloaded file and another failed download (only the first 100 MB of a large file) which I suspect is the same file. To verify this, I'd like to check their hashes, but ...
0
votes
1answer
56 views

Get the fingerprint of an existing SSH public key

This Question asks about getting the fingerprint of a SSH key while generating the new key with ssh-keygen. But how does one get determine the fingerprint of an existing public key in a .pub file? ...
0
votes
1answer
27 views

How do i install gtkhash to windows 10?

My question is about how to install gtkhash to windows 10, as i can't seem to find any guides on how to. I have tried downloading gtkhash from https://gtkhash.sourceforge.io/ but all i got was a svg ...
-1
votes
0answers
33 views

Uefi bios check with md5sum

Can I make md5sum for UEFI, BIOS firmware files because of the new LoJax malware ( https://thehackernews.com/2018/09/uefi-rootkit-malware.html ). If yes, how to?
0
votes
0answers
45 views

how to change hash::make with bcrypt in laravel?

I want make password hash with bcrypt no with hash::make, can someone help he how to make it? I have laravel default with hash::make function and want to change to bcrypt here a validation = 'name' ...
-2
votes
1answer
48 views

Why is your username AND password not hashed and salted? [closed]

Since common responses from Username and/or Password failure at logging is ALWAYS returned "Your Username OR Password are incorrect" due to increased security then why would systems not store the ...
0
votes
2answers
41 views

What is causing these two apparently identical files to have different hashes?

I am unable to figure out why the following two files are yielding different hashes (SHA1, CRC32, SHA384, whatever): https://cdn.jsdelivr.net/npm/jsonify-error@1.2.1/dist/jsonify-error.js https://...
1
vote
0answers
115 views

John the Ripper not fully using CPU

I'm using John the Ripper to crack an old ZIP archive encrypted with PKZIP, and although I've set the thread count to match the number of cores I have (4) only about 50-60% of my CPUs are being used ...
4
votes
2answers
3k views

How can I generate an MD5 sum for a folder on Windows?

There are several posts about generating MD5 sums for files and/or folders on various Windows platforms. However, none of these worked for me. I tried: Windows CertUtil: CertUtil -hashfile myFileName ...
2
votes
1answer
2k views

How to take sha256sum of file and compare to check in one line?

I keep on finding myself wanting to download and check the integrity of the download immediately in a script, but I haven't been able to find the right incantation of sha256sum. MY_SHA256=...
0
votes
0answers
81 views

Override El Capitan Hash Algorithm to read High Sierra DMG image?

My Mac OS was corrupted, so in recovery mode I made a backup of my data files while @High Sierra (10.13.3). Unbeknownst to me, this created a DMG file that can only be opened in High Sierra. I ...
0
votes
0answers
890 views

John the Ripper Old Hash Format

TL;DR : John the Ripper does not try to crack hashes in an old format ($pdf$1*2*40*4294967292*1*16*...*). How to crack them? Long version: I have a few password-protected PDFs from years ago. ...
0
votes
0answers
35 views

Can I calculate a git tag hash from the source tree?

Given a git project, I can checkout to the tree at a tag. This tag has a hash associated with it. How is this hash calculated? Can I hash the source tree in some way to get this hash?
0
votes
1answer
44 views

Cannot open System File in Windows 10

I recently am trying to find my windows password after seeing some anti-virus software asked for my Windows credentials for me to log into my computer. So I thought I might be able to reach my own ...
0
votes
0answers
90 views

Windows 7 installer incorrect SHA-1 after copying .iso file

I have a Windows 7 Installer (x64, ultimate, SP1, u) on my NAS. I checked its SHA-1, and it was correct (starting with 36ae60de). I copied this .iso file to my pendrive (SanDisk Extreme with very high ...
4
votes
1answer
217 views

What might be the source/logic behind the hash values used by “Unified Logging” system on macOS?

This question was inspired by another question and answer thread regarding false-positives on a Mac for an—apparently—PC only virus/malware. My answer there posits that the hash ...
0
votes
1answer
114 views

Verifying dd-wrt checksum (old docs out of date)

Trying to install dd-wrt firmware on TP Link Archer C9 v1 (AC1900) router. Want to verify the integrity of my download, but can't find any hashes or checksums. Docs on the wiki about how to verify ...
0
votes
1answer
179 views

What algorithm is used to produce the 32 bit password key in an edit protected microsoft office (specifically word) document?

If you save a legacy (.doc era) word document with edit protection, you can find the password key stored within the file. For ease, this can be found by saving to an .xml or .html file and inspecting ...
2
votes
3answers
8k views

How to generate MD5 hash value for multiple files in a folder using cmd

As mentioned in this page, the command:CertUtil -hashfile yourFileName MD5can be used to obtain the MD5 hash value for a particular file. How can I find the MD5 hash values for multiple files in a ...
1
vote
1answer
104 views

How to get rid of STDIN string while using the following function in PowerShell and two other things?

I am working on Windows 8.1 Pro with PowerShell 5.0. Let's say I want to get a pure SHA-256 hash string of a file. I defined a following function: function sha256sum([string]$arg) { Get-...
1
vote
1answer
132 views

How do I check I copied a bunch of files and folders correctly from an MTP device?

That. Windows 10 Home, Android 7.1.2 device. I want to check if it copied right, as it's a backup.
1
vote
1answer
320 views

Find duplicate hashes

I have a bunch of files (4800 files), that I believe contain many duplicates and triples. Problem is that they don't also have the same names. I already weeded out the easy ones with same names. The ...
1
vote
3answers
221 views

How does Virustotal compute the hash?

When you select a file on your computer to be uploaded and analyzed by Virustotal it first computes the hash of the file to see if it hasn't already been scanned. How does the hash computation happen -...
0
votes
1answer
480 views

Create a 6 digit “hash” from a file

I need a tool to generate a 6-digit "hash" from a file. Naturally, identical files should always create the same hash. What is a good way to do this? This is required on a vanilla debian system. I ...
0
votes
2answers
230 views

If I generate a hash for a file stored on a network share, is the entire file sent over the wire? If not why?

Scenario: I would like to generate a hash of a file stored on a remote server. For this example lets say we are using windows file sharing for both the client and the server. I, as the client, locate ...
1
vote
1answer
690 views

Windows 10 ISO genuinity

I have downloaded Windows 10 and computed the hashes. But I could not find a place including all possible genuine hashes, so I can make sure the ISO is genuine. How can I find if it is indeed genuine? ...
0
votes
0answers
45 views

Libreoffice download unexpectedly large with non-matching hashes

Today I downloaded LibreOffice MSI for windows x86_64 and the download was taking quite long (about 1 or 2 minutes.) The website said that it was 5.1MB but chrome reported 223MB. Windows explorer ...
0
votes
1answer
838 views

Why does my md5sum hash not match other md5s?

So for a school assignment we are working with hashes. However I've encountered a problem where my file.txt containing: test hashes test hashes without quotes doesn't match the hash from HashCalc (...
0
votes
1answer
254 views

What hash type is used by DISM / SFC?

What hash type is represented below? Example 1: 0h+p0j3/Y9s1ly0mqtU741bzLjqz12mDQGKtVScMeKg= Example 2: uNryI5MYSV5U5O1NuFPGYexSxm2nLFrRXVqga+nQjw4= These hashes came from the CBS.log file after ...
6
votes
2answers
6k views

Safe way to verify that a Microsoft ISO has not been tampered with

I'd like to make sure an ISO (disc image) I have for a Microsoft Windows 10 OS is genuine. The way I usually do this with any file is by computing a hash of the file and comparing the result to the ...
0
votes
0answers
110 views

why file hash not match after download windows kb3185330 monthly quality rollup?

After downloading the kb3185330 monthly quality rollup for Windows 7 x64 from Microsoft site, I compared the hashes for the downloaded file named : (Windows6.1-KB3185330-x64.msu) from the site and ...
7
votes
6answers
4k views

How to create md5 hash via Arch Linux commandline?

In Arch Linux, how can I create a single md5 hash for a password using the command line? Of course, I am aware that there are secure password hashing algorithms available, which md5 is not, but this ...
3
votes
1answer
477 views

Which checksum-generating command line programs are native to macOS?

[Migrated question from stackoverflow here, because they said it was off-topic.] I'm looking for a list/an overview of the command-line programs native to macOS that let you calculate checksums. I ...
0
votes
1answer
239 views

Check MD5 of a file header hosted on a webserver

I am writing a bash script to periodically download a setup file using cURL. The problem is the following, the file is around 110 MB and always have the same filename. I can download the file, check ...
-1
votes
2answers
98 views

Is there a tool like diff -r that compares a directory tree against a manifest file using hashes?

Here's my situation. I have two cold-storage archive volumes that (should) contain identical sets of data. These volumes contain infrequently accessed backups. I am concerned that, eventually, bitrot ...
0
votes
0answers
1k views

John the Ripper error Crash recovery file is locked

I am on Windows 10 using CygWin, and I have just downloaded John The Ripper Jumbo 1.7.9. I was following the tutorial at Ethical Hacking Central to try to learn how to use the program. I created the ...
0
votes
0answers
544 views

Windows 10 Image (WIM) validation

Years ago one could use ghost to image a drive and then hash the result. When the image was restored, the new drive could also be hashed to validate the integrity of the image. Is there any similar ...
3
votes
1answer
2k views

Set a password to a pre-hashed value in mysql

How can I set a mysql user's password using a pre-hashed password? ===== I've got a mysql database version 5.1.73 . According to the mysql documentation, in the newer versions of mysql, creating a ...
1
vote
1answer
20 views

Rebuilding a raid 1+0 (10) system

We have a set of 8 disks that are raided together with RAID 10. Our software that rebuilds RAIDS do not allow a RAID 10 but does have a RAID 1 or a RAID 0. In theory, we wanted to drop the mirrored ...
1
vote
2answers
1k views

calculate checksum of every file that is being written to HDD

Is it possible to automatically calculate checksum of every file that is being written to HDD? My OS is Linux. I've read that btrfs stores some kind of checksums for files. Would be possible to dump ...
1
vote
2answers
1k views

Getting Linux hashes from shadow file

I have an Ubuntu 12.04 VirtualBox machine in which some days ago I changed the password. Now when I used the machine again I've forgotten the password and can't get root access. I tried to get hashes ...
0
votes
1answer
529 views

Unable to download a file completely

Hello I've been trying to download kali-linux-2.0-amd64.iso 3 times. When I tried it 1st time the file had about 2.6 GB, the hashes didn't coincide. 2nd time the file had 2.5 GB, the hashes didn't ...
0
votes
1answer
3k views

How to verify two copied files are exactly the same in Windows?

I’m doing a backup on my Samsung rv420 running Windows 7 Home Starter Edition. In order to do it, I want to ensure that when making a copy from my computer to a external device, the files being ...
3
votes
2answers
1k views

How to create a SHA256SUMS file?

I can check the content of several files in a directory against checksums contained in a file named for example SHA256SUMS with sha256sum -c SHA256SUMS. Is there an easy way to generate a SHA256SUMS ...
1
vote
2answers
1k views

How to recursively create a hash file (sha512sum) inside each folder of a tree?

For a given tree, say /var/ftpd, how do I create a hash file in each folder of that tree with the contents of that folder within a given tree? sha1sum and sha512sum does not have recursion options.
1
vote
1answer
755 views

add hash to a file using command line

I am writing a Windows batch file to copy a file from my computer to a network location, but before doing this, I need to add a hash for it using the command line. Assuming that my file is named ...
0
votes
1answer
87 views

Alternative of arch_fast_hash in Linux kernel v3.19 and above

To find the hash value of a given buffer, I used arch_fast_hash function present in Linux kernel v3.16 declared in include/linux/hash.h and defined in linux/lib/hash.c. But in Linux kernel v3.19, ...
1
vote
3answers
295 views

Should I use an SSD or HDD to hash lots of data?

Purely in terms of drive life which will be better for hashing hundreds of thousands of files - SSD or HDD? Background - My HDD has files which I want to hash and compare with data in a spreadsheet, ...
32
votes
8answers
10k views

Can a file be maliciously changed in a way that maintains its original SHA-1 Hash?

According to this article, and many others, SHA-1 is not secure. In my case, I am not concerned about passwords or digital certificates. I am concerned about file integrity. Is it reasonably ...
2
votes
1answer
351 views

openSSL: How to specify the signature hash algorithms I will accept?

Using openSSL, on a TLS client, I specified a unique cipher suite with SSL_CTX_set_cipher_list(). When I use wireshark to look at the messages, I see in the Client Hello message, the cipher suites ...