Questions tagged [hash]

108 questions
15
votes
1 answer

Tool to compute SHA256 Tree Hash

I've started using AWS Glacier, and noticed that it hashes the files using an algorithm called SHA-256 Tree Hash. To my surprise, this algorithm is different from SHA-256, so I can't use the tools I'm used to, to compare hashes and verify file…
BenMorel
  • 4,215
  • 10
  • 53
  • 81
14
votes
1 answer

Why isn't MacTripleDes algorithm output in PowerShell stable?

I am checking the file hashes using several different algorithms in powershell. When I use MacTripleDes, I always get different hashes. All of the others, such as SHA256 or MD5 always give reliable answers. You may be able to replicate the…
user6722022
  • 176
  • 5
14
votes
1 answer

Enable blowfish-based hash support for crypt

How do I enable crypt_blowfish support for shadowed passwords and PHP on a Linux (Debian) server? I'm referring to the OpenBSD-style Blowfish-based bcrypt, known in PHP as CRYPT_BLOWFISH. As far as I know there is no Debian package for it, what…
Jacco
  • 377
  • 5
  • 14
12
votes
3 answers

Enabling SHA2 Certificate Support on Windows Server 2003

A little background information first. I have an SSIS package that runs inside a Windows Server 2003 SP2 32 bit environment. The package recently started failing with the following error during a script task which downloads a webpage using an SSL…
grin0048
  • 223
  • 1
  • 2
  • 5
11
votes
3 answers

Windows 2012 R2 - Search for Files using MD5 Hash?

My organization recently discovered malware that was sent to some users via email that managed to get past our email security in a sophisticated, targeted attack. The names of the files vary from user to user but we have collected a list of the…
Brandon Wetter
  • 211
  • 2
  • 5
10
votes
3 answers

Nginx: could not build map_hash, you should increase map_hash_bucket_size: 64

I need to use redirect map with quite a lot rules (2k+ lines, file size is ~200K) I have the following settings in nginx: map $uri $new_uri { include /etc/nginx/conf.d/redirects.map; } server { listen 80 default_server; …
Putnik
  • 2,095
  • 3
  • 23
  • 40
10
votes
7 answers

How does one check huge files identity if hashing is CPU bound?

For small files hashing is just ok, but with huge ones you can easily find md5sum is CPU bound. Is there any hashing algorithm able to scale out on multiple cores? Any workarounds? Ideas? Anything? :)
poige
  • 9,171
  • 2
  • 24
  • 50
8
votes
1 answer

What kind of algorithm does .htpasswd uses?

I am trying to generate this kind of hashes programmatically: axF3s9cdEnsNP But I can't identify what kind of hash it is. The hash comes from a .htpasswd file. All the online htpasswd generators I tried generates different type of hashes.
trevhas
  • 83
  • 1
  • 3
7
votes
3 answers

How are the hashes in /etc/shadow generated?

I was reading the Wikipedia article on the shadow file and it mentioned the format of the lines is like this: $id$salt$hashed So, my question is, how does it work? I tried to calcualte the hash for my own account to which I had the password so I…
Navid
  • 171
  • 1
  • 2
7
votes
2 answers

Why do some sites have a TXT record with only a base64 hash code?

What is the purpose of the TXT record in (for example) the root Microsoft.com zone? I don't see any reasonable tie into SPF, SenderID, DomainKeys, or even TLS-OBC or DANE for TLS. microsoft.com IN TXT…
makerofthings7
  • 8,821
  • 28
  • 115
  • 196
6
votes
1 answer

What does AAA mean in nginx example of split_clients?

On nginx docs there is an example of split_clients directive: split_clients "${remote_addr}AAA" $variant { 0.5% .one; 2.0% .two; * ""; } In general I…
Oleg
  • 266
  • 3
  • 17
6
votes
4 answers

How to generate Amazon Glacier SHA-256 Tree Hash for a file locally?

To verify my files have uploaded correctly, is there a tool to generate the Amazon Glacier Tree Hash SHA-256 for files locally?
zeroprobe
  • 181
  • 4
5
votes
2 answers

Generating an SHA256 SSL CSR on CentOS/RHEL using genkey

The officially recommended method of generating a web server SSL certificate CSR (according to RHEL6 and CentOS 6 documentation) is to use the genkey utility. When used according to the docs, this produces a CSR with an SHA1 signature. Our CA has…
steevithak
  • 153
  • 1
  • 1
  • 3
5
votes
8 answers

md5sum repeatedly gives different checksum for same file on same machine

I have a very small and quite old hard drive disk, about 32G. On to this disk I have copied a largish tar file, about 5G. When I run md5sum to generate a checksum on this file I repeatedly get different results (on the same machine and the same…
Joel
  • 459
  • 2
  • 6
  • 12
5
votes
1 answer

How to distribute files and folders to handle large number of files

I want to manage a huge number of files on my server (say millions). It is needed to save files in two or three levels of folders to keep the number of files in each folder low. On the other hand, it is not good to have many folders to spend…
Googlebot
  • 1,007
  • 2
  • 15
  • 29
1
2 3 4 5 6 7 8