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.
Walter Roberson
Walter Roberson 2013 年 6 月 6 日
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
Walter Roberson
Walter Roberson 2013 年 6 月 7 日
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 ExchangeMatrix 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