Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
重複の可能性: SHA256 ハッシュを 128 ビットに切り詰めても大丈夫ですか?
sha256 ハッシュの最初の 35 文字のみが返される場合、エントロピーがどの程度影響を受けるか教えてもらえますか? これを行うリスクは何ですか?
さて、あなたが何を求めているのか正確にはわかりません。35 文字は、140 ビットである 17.5 バイトを表します
256 bit: 2^256 = 1.1E+77 140 bit: 2^140 = 1,4E+42
したがって、エントロピーは劇的に減少します。お役に立てれば。