i need a decoding algorithm of SHA-512?

please suggest me... if decoding algorithm is not available then please tell me how can i decode the hash value generated by coding algorithm?

3 comentarios

Jan
Jan el 6 de Jun. de 2013
I've deleted the double posting.
SAURABH
SAURABH el 7 de Jun. de 2013
thanku walter ans simon sir.....for suggeting me...

Iniciar sesión para comentar.

 Respuesta aceptada

Jan
Jan el 6 de Jun. de 2013

1 voto

You cannot decode a hash. This is the purpose of hashes.
Note that a 512-bit hash is not unique, when it is calculated for a message with 513 or more bits.

8 comentarios

Walter Roberson
Walter Roberson el 6 de Jun. de 2013
The difficulty of reversing a hash is what makes any particular hash useful for cryptographic purposes, but it is not the purpose of hashes.
Jan
Jan el 6 de Jun. de 2013
@Walter: You are right. See [EDITED]
Walter Roberson
Walter Roberson el 6 de Jun. de 2013
[EDITED] does not seem to have shown up ?
SAURABH
SAURABH el 7 de Jun. de 2013
thnks sir both of you
A hash function is any algorithm or subroutine that maps data sets of variable length to data sets of a fixed length. For example, a person's name, having a variable length, could be hashed to a single integer of bounded size.
Notice that these functions are not required to be injective (because distinct inputs may map to the same output) and are not required to be surjective (there may be elements of the output range that turn out to be impossible to generate.
Jan
Jan el 7 de Jun. de 2013
@Walter: There seems to be a serious problem for this thread. I've posted a longer comment two times, but they disappeared when I reloaded the thread. Then I added the comment as [EDITED] in the answer, but it vanished also obviously. Not I hesitate to waste more time again and check at first, if at least this comment is accepted.
Walter Roberson
Walter Roberson el 7 de Jun. de 2013
meta comment reached here
Jan
Jan el 7 de Jun. de 2013
Editada: Jan el 7 de Jun. de 2013
Yes, even after relaoding the above comment is still there. Strange! So I try it again:
@Walter: Yes, you are right. My message is really too sloppy. A short message can be reconstructed from the hash, but this consumes much time and a brute-force-attack is a fair approach. But decoding is not the intention of hashes.
Using "purpose" as synonym for "not the intention" was not smart.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Preguntada:

el 6 de Jun. de 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by