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
-1
votes
2 answers

Is there any checksum algorithm cost 1% time of sha1 for 128MB string buffer?

I want to compare a fix-size buffer of 128MB with checksum with C language. I used sha1 to get a 20 bytes digest which cost 1700ms in my centos box. It there any algorithm would that satisfy my requirement and cost less then 50ms?
George_BJ
  • 596
  • 2
  • 9
  • 21
-1
votes
1 answer

SHA-1 a string (git-hash-object string)

I am trying to encrypt SHA-1 the following string: commit 218\0tree 64a7513fad0b86d34b6feedbf9c2e99135819861 parent 233634213baf3f40236233f28c6646f20786a80a author CTF user 1390678027 +0000 committer CTF user
darksky
  • 20,411
  • 61
  • 165
  • 254
-2
votes
1 answer

How can I calculate a digest

I want to create connections with banks and as I see in the documentation of cardlink they want to calculate digest. The main idea of this calculation is this Digest=base64( sha-1( utf8bytes(value1|value2|...|secret) ) ) . MessageDigestmdigest =…
mike vorisis
  • 2,786
  • 6
  • 40
  • 74
-5
votes
2 answers

Anti-Digest operation on string always returning the same value

I am looking for some way to "digest" a string, but always return the same 32 (or 64) byte long value (as a hex string or plain characters). Something like the following code does: std::string digest(const std::string& input) { std::string…
Ferenc Deak
  • 34,348
  • 17
  • 99
  • 167
1 2 3
29
30