Timeline for Is a reduced character space pre-image attack possible for SHA-1?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 6, 2023 at 17:23 | comment | added | kelalaka |
Almost, sha1(pepper | plaintext | padding_1 | plaintext2 | padding_2) , padding_1 is already there; see here in details, to mitigate use SHA3, Blake2b, or SHA-512/256. Why are you using SHA-1, which is already deprecated by NIST...
|
|
Nov 6, 2023 at 17:14 | comment | added | Carmina Martin | Thank you for the responses. You are correct in that $f$ can be ignored. Length extension attacks are a consideration, something I wasn't very aware of beforehand. From my understanding length extension attacks allow you to compute sha1(pepper | plaintext | padding | plaintext2). Is this correct? I would assume it is impossible to compute this without the padding between plaintext1 and 2? | |
Nov 6, 2023 at 16:27 | review | Close votes | |||
Nov 21, 2023 at 3:05 | |||||
Nov 6, 2023 at 15:31 | comment | added | Maarten Bodewes♦ | I don't know how you would determine if it is the correct pepper. $2^{88}$ is significantly smaller than $2^{143}$. In case you didn't get it yet, the answer is "no". | |
Nov 6, 2023 at 15:21 | comment | added | kelalaka | Questions: 1) why do you still need for SHA-1 instead of SHA2, SHA3, and Blake2 series? 2) It seems that $f$ is only a reversible coder why do you need this to define your problem? 3) if peppers are not unique then what is the probability of collision? What is the actual input space? 4) It seems that you use a prefix MAC, normally SHA-1,2 are vulnerable to length extension attacks. Is this a consideration for you? | |
Nov 6, 2023 at 12:25 | comment | added | kelalaka | Welcome to Cryptography. What is exactly 𝑓? The input space is $\log_2(62^{24})+1≈2^{143}$ and, this is slightly smaller than the output of SHA-1. SHA-1's pre-image resistance is not broken, therefore, we expect that after $\approx 160∗2^{160}$ inputs one can find the pepper. | |
S Nov 6, 2023 at 11:45 | review | First questions | |||
Nov 7, 2023 at 13:04 | |||||
S Nov 6, 2023 at 11:45 | history | asked | Carmina Martin | CC BY-SA 4.0 |