Re: cryptographic hash functions versus non-cryptographic hash functions
- From: Kristian Gjøsteen <kristiag+news@xxxxxxxxxxxx>
- Date: Mon, 31 Dec 2007 16:45:13 +0100
Vend <vend82@xxxxxxxxxxx> wrote:
On 31 Dic, 11:38, "Sebastian G." <se...@xxxxxxxxx> wrote:
In further addition, cryptographic hash function are intended to not leak
any information about the input.
A hash function (indeed, any function the adversary can compute) always
leaks some information about the input. Specifically, you can decide if
a given hash is the hash value of a given input.
That said, it is possible to define what it means for a hash function to
leak minimal information about the input, and it is sometimes desirable
for hash functions to have this property. Not all good hash functions
have this property, of course.
Consider a hash function that takes the first 16 bytes of a message and
prepends the SHA-256 hash of the full message. This hash is as least as
resistant to collisions and preimages as SHA-256 itself, but trivially leaks
information.
It might not be as resistant ash SHA-256.
For sure, it isn't resistant to certain preimage attacks! Preimages
of any message (pretty close, at least) at most 16 bytes long can be
trivially recovered.
As for collisions and second preimage attacks, it is provably as secure
as SHA-256.
--
Kristian Gjøsteen
.
- Follow-Ups:
- Re: cryptographic hash functions versus non-cryptographic hash functions
- From: Sebastian G.
- Re: cryptographic hash functions versus non-cryptographic hash functions
- References:
- cryptographic hash functions versus non-cryptographic hash functions
- From: Ken
- Re: cryptographic hash functions versus non-cryptographic hash functions
- From: Vend
- Re: cryptographic hash functions versus non-cryptographic hash functions
- From: Sebastian G.
- Re: cryptographic hash functions versus non-cryptographic hash functions
- From: Vend
- cryptographic hash functions versus non-cryptographic hash functions
- Prev by Date: Re: what's wrong with this token scheme?
- Next by Date: Re: cryptographic hash functions versus non-cryptographic hash functions
- Previous by thread: Re: cryptographic hash functions versus non-cryptographic hash functions
- Next by thread: Re: cryptographic hash functions versus non-cryptographic hash functions
- Index(es):
Relevant Pages
|
|