Re: Cryptographic Hash function



"SecBoy" <secboy@xxxxxxxxxxxxxx> writes:

Newbie at crypto & security. So excuse me if my question
is naive.

As per what I have read, a cryptographic hash function
always produces a fixed length string as output. Does this
Usually. That is of course not a requirement but is the norm.

mean that the output string will always be longer than the

No. The output string is almost always shorter than the input.

input string? Because if not, then there will be collisions -
am I wrong?

Yes. There will be collisions. A hash is NOT an encryption. The whole
question is whether or not those collisions are easy to find or not. making
them hard to find is what makes a hash "cryptographic" or not.




If this the wrong forum for this kind of question, can someone
direct me to the right forum. Also I have other questions about
CA's & digital certificates for web servers.


.



Relevant Pages

  • Re: 12 to 8 bit Hashes - application to chess
    ... Mike Amling wrote: ... As fast as that might be for encoding, how are you going to decode if there are collisions? ... And the "hash" would just be a 4K table lookup. ... The remaining bits of the output are from a 6x64x64 array MOVESwhose elements have a bit string and the length of that bit string. ...
    (sci.crypt)
  • Re: 12 to 8 bit Hashes - application to chess
    ... Is it both the speed of encoding and the speed of decoding that are critical, ... As fast as that might be for encoding, how are you going to decode if there are collisions? ... And the "hash" would just be a 4K table lookup. ... The remaining bits of the output are from a 6x64x64 array MOVESwhose elements have a bit string and the length of that bit string. ...
    (sci.crypt)
  • Re: Hash table
    ... > value for any string of 12 characters. ... For 12 characters to have a non-colliding hash, ... collisions - there are too many strings and not enough possible hash ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Hash table
    ... > value for any string of 12 characters. ... For 12 characters to have a non-colliding hash, ... collisions - there are too many strings and not enough possible hash ...
    (microsoft.public.dotnet.general)
  • Re: One-to-one Hash functions
    ... >would need to be able to produce a 128-bit hash for any length string, ... I know that there would have to be collisions when the length ... AES is the aes cypher for some prechosen key. ...
    (sci.crypt)