Questions tagged [digest]

also known as a hash value. Used as a key to distinguish the resources (file, uri, etc.) generating the unique key for them - digest (hash).

Digest also known as a hash value or key in software development, computer and engineering fields.

Used as a key to distinguish the resources (file, uri, etc.) generating the unique key for them - digest (hash). Hashes can be generated from variable length content with variety of methods (sha1, md5, crc32 and others) and represent fixed length generated value.

Resources:

439 questions
5
votes
2 answers

perl Digest add addfile computes different SHA1 digest

perl Digest module computes different SHA1 digest for add and addfile functions. I have created binary random data using /dev/urandom running on ubuntu $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu…
4
votes
2 answers

As of 2011, what hash algo is the most suitable for message digest?

I'm a bit conflicted with an answer when I google for this, as these algos are constantly improving and new exploits are being found and new issues come up all the time... a lot of advice on what algo to use is simply old, or keeping ideas from an…
Incognito
  • 20,537
  • 15
  • 80
  • 120
4
votes
1 answer

How to get a list of immutable identifier (digest) from a Docker image?

I have a Docker image in dockerhub and this has been built several times because I need to update the PHP version to the newest. I need to use a previous version of that image and I think the way to go is by using the immutable identifier aka…
ReynierPM
  • 17,594
  • 53
  • 193
  • 363
4
votes
1 answer

How does digest authentication prevents replay attacks?

I found many questions on stackoverflow which has a mention about digest authentication. I could not find on how does the digest authentication prevent replay attacks? I use the fiddler tool to intercept the http request to the servers. I used the…
Anand Patel
  • 6,031
  • 11
  • 48
  • 67
4
votes
0 answers

Securing webapp with DIGEST on WildFly

I want to secure my webapp running on a WildFly 9 server. I have a SQL database with 2 tables users(login, password) and roles(login, role). First, I configured a BASIC authentication like this : standalone.xml:
cheb1k4
  • 2,316
  • 7
  • 26
  • 39
4
votes
0 answers

WCF digest Authentication

What should be specified on the client side? Is this enough: binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Digest; //... cf.Credentials.HttpDigest.ClientCredential = new NetworkCredential("myuser", "mypass",…
Dudi
  • 2,340
  • 1
  • 24
  • 39
4
votes
5 answers

Tomcat Digest with Manager WebApp

I'm trying to get a digest password setup for the tomcat manager application. I've got in my tomcat server.xml changed the…
ClutchDude
  • 997
  • 1
  • 9
  • 23
4
votes
1 answer

Angular app not updating (dirty-checking) after async call to firebase

I am using a single page angular app for my blog. On load, the controller makes a call to my firebase for all blog posts and pushes them into a $scope.posts array. The HTML employs ng-repeat to display a snippet of each blog post. However, no…
evancodes
  • 73
  • 4
4
votes
2 answers

Digital Signature VS. Message Digest

I have message (m), and I want to store some data to verify its integrity after sending it by an insecure way.. I can create a digital signature (DSA / RSA). S(m) = digital signature of m. Or I can calculate a digest (hash) and cipher it. H(m) =…
AlexITC
  • 1,054
  • 1
  • 10
  • 21
4
votes
2 answers

MD5 digest vs. hexdigest collision risk

I am comparing personal info of individuals, specifically their name, birthdate, gender, and race by hashing a string containing all of this info, and comparing the hash objects' hexdigests. This produces a 32 digit hexadecimal number, which I am…
Brian Peterson
  • 2,800
  • 6
  • 29
  • 36
4
votes
1 answer

AngularJS and Digest HTTP Authentication

I am trying to implement the digest auth algorithm in angular. However, the lack of knowledge about the requests angular will send stops me from perceiving that goal. My approach is to transform the request via the…
4
votes
4 answers

How to create a consistent hashstring of a ruby array?

I wonder how it is possible to create a consistent hash of a ruby array full of strings. The requirements are that the hash is always the same if the array contains the same values, independent of their order. >> a = ["a", "b", "c", "d"] >>…
Thomas Fankhauser
  • 5,039
  • 1
  • 33
  • 32
4
votes
2 answers

NSURLConnection sendAsynchronousRequest:queue:completionHandler: doesn't call delegate method - didReceiveAuthenticationChallenge

I have a REST API which is secured by digest. I want to download my JSON response, but first I've to authenticate against the rest api. I'm doing my Requests with sendAsynchronousRequest:queue:completionHandler:. But I don't know how to handle the…
milepile
  • 141
  • 1
  • 3
  • 10
3
votes
1 answer

Strategies for email frequency configuration in a rails app

I'm looking forward to allowing my users configure their email notifications frequency. I'd like to offer them the typical options: direct email, daily and weekly digests ¿What would it be the best strategy to build this within a rails 3…
dgilperez
  • 10,716
  • 8
  • 68
  • 96
3
votes
1 answer

Digest authentication with spring security: 401 recieved as expected but with two WWW-Authenticate headers

When I send PUT request with correct username and password, it works fine. But when I send request with wrong password, I received 401 which is ok, but in I got 2 WWW-Authenticate headers: Response headers: HTTP/1.1 401 WWW-Authenticate: Digest…