Re: Why unhashing is not possible?



Barry Margolin wrote:


Surely if the hash is unique, we know the process that got us the hash
we have only to reverse the process... we can't... so... but why not?

How could the hash possibly be guaranteed to be unique?


For a limited set of inputs, this is very easy.

What the hash code designers try to do is make it very hard to find another input that will hash to a given code. Even harder is finding another input that's MEANINGFUL.


This is only true for cryptographic hashes.
.



Relevant Pages

  • Re: Why unhashing is not possible?
    ... For a limited set of inputs, ... only ever as a "hash function". ... The OP asked about non-reversible hashes, which are not just the cryptographic hashes. ... non-reversibility is that they're many-to-one. ...
    (comp.security.misc)
  • Re: Why unhashing is not possible?
    ... For a limited set of inputs, ... "Minimal perfect hashing" ... only ever as a "hash function". ... asking about cryptographic hashes, ...
    (comp.security.misc)
  • Re: find who deleted directories
    ... Hash: SHA1 ... Barry Margolin wrote ... ... > specific commands as other users. ...
    (comp.unix.admin)
  • Re: Maphash into a new hashtable
    ... Barry Margolin wrote: ... > Or at least set the size of the new hash table from the size of the ... test, size, rehash-size and rehash-threshold. ... confusing myself if I called it HASHMAP ...
    (comp.lang.lisp)
  • Re: beginners attempt at hash function
    ... >>>We have an informal programming class and our instructor has given ... >>>the exercise of devising and implementing a hash function. ... Cryptographic hashes, on the other hand, are designed primarily to ... for conventional indexing hashes; faster isn't always better. ...
    (comp.programming)