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

Jan
Jan 2013년 6월 6일
I've deleted the double posting.
SAURABH
SAURABH 2013년 6월 7일
thanku walter ans simon sir.....for suggeting me...

댓글을 달려면 로그인하십시오.

 채택된 답변

Jan
Jan 2013년 6월 6일

1 개 추천

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

Walter Roberson
Walter Roberson 2013년 6월 6일
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 2013년 6월 6일
@Walter: You are right. See [EDITED]
Walter Roberson
Walter Roberson 2013년 6월 6일
[EDITED] does not seem to have shown up ?
SAURABH
SAURABH 2013년 6월 7일
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 2013년 6월 7일
@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 2013년 6월 7일
meta comment reached here
Jan
Jan 2013년 6월 7일
편집: Jan 2013년 6월 7일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

질문:

2013년 6월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by