Hash functions and streaming
From: frank (francis.moore_at_gmail.com)
Date: 10/24/05
- Next message: Walter Roberson: "Re: Hash functions and streaming"
- Previous message: Security Alert: "SSRT051055 rev.0 - HP Oracle for OpenView (OfO) Critical Patch Update October 2005"
- Next in thread: Walter Roberson: "Re: Hash functions and streaming"
- Reply: Walter Roberson: "Re: Hash functions and streaming"
- Reply: Lassi Hippeläinen: "Re: Hash functions and streaming"
- Reply: Volker Birk: "Re: Hash functions and streaming"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 24 Oct 2005 12:45:09 -0700
Hi,
I can't seem to find any answers to some questions I have regarding
hash functions and streaming. If anyone can answer those questions, I'd
be extremely grateful.
I have the following scenario:
I have a continuous audio stream of data blocks passing from a server
to a client.
Each block is unencrypted but contains a message digest (hash) of that
block using SHA-1. The message digest is encrypted using RSA with a
private key, creating a digital signature.
At the client side, the public key is used to decrypt the message
digest.
The data block is hashed to produce another message digest.
The two digests are compared to see if they match.
If they do, the data block is accepted. If they do not the data block
is rejected.
I have just heard (although apparently it's old news) that the SHA-1
algorithm
has been fundamentally broken. It doesn't take 2**80 hashes for a
collision to occur, but only 2**69 hashes.
I don't really understand what problem is caused by someone finding a
collision.
So, my questions are:
1. Does this mean that they have reversed the hash back to plaintext?
2. Or have they found some plaintext that hashes to the same value as
some other plaintext? And if so, why is this considered dangerous?
3. How would someone launch an attack against a stream with an
encrypted SHA-1 message digest?
4. If the SHA-1 message digest was not encrypted, what is the worst
that someone could do if they could create a collision?
5. If the stream is very long and the compromised block is just 60
seconds or less of that stream, could a hash collision of that one
block provide a vulnerability for the rest of the stream? Even though
each block will have a completely different hash?
Many thanks,
frank.
- Next message: Walter Roberson: "Re: Hash functions and streaming"
- Previous message: Security Alert: "SSRT051055 rev.0 - HP Oracle for OpenView (OfO) Critical Patch Update October 2005"
- Next in thread: Walter Roberson: "Re: Hash functions and streaming"
- Reply: Walter Roberson: "Re: Hash functions and streaming"
- Reply: Lassi Hippeläinen: "Re: Hash functions and streaming"
- Reply: Volker Birk: "Re: Hash functions and streaming"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|