सभी किताबें

पेशेवर

1 Markets I: The Ecosystem and Exchange-Traded Marketsबाज़ार ऑनलाइन 2 Markets II: Rates, FX and Creditबाज़ार ऑनलाइन 3 Markets III: Commodities, Energy and Cryptoबाज़ार ऑनलाइन 4 Quantitative Methodsविधियाँ ऑनलाइन 5 Derivatives and Volatilityडेरिवेटिव्स ऑनलाइन 6 Rates, Credit, XVA and Riskब्याज दरें, क्रेडिट और जोखिम ऑनलाइन 7 Research Craft: Predictors, Backtests, Measurement, Portfoliosअनुसंधान ऑनलाइन 8 Strategies I: Equities and Futuresरणनीतियाँ ऑनलाइन 9 Strategies II: Volatility, Relative Value, Macro and the Bank Desksरणनीतियाँ ऑनलाइन 10 Microstructure and Executionनिष्पादन ऑनलाइन 11 Market Making and High-Frequency Tradingमार्केट मेकिंग ऑनलाइन 12 Machine Learning for Marketsमशीन लर्निंग ऑनलाइन 13 Low-Latency Softwareतकनीक ऑनलाइन 14 Networks, Hardware and Trading Infrastructureतकनीक ऑनलाइन 15 Research, Data and Risk Platformsतकनीक ऑनलाइन 16 The Desk and the Firmफ़र्म ऑनलाइन 17 The Industry: Firms, Roles and Careersकरियर ऑनलाइन 18 Interviews I: Maths, Probability and Speedकरियर ऑनलाइन 19 Interviews II: Markets, Trading Games and the Final Roundकरियर ऑनलाइन 20 Interviews III: Codeकरियर ऑनलाइन
ऐप्स परिचय Coach लॉग इन पढ़ना शुरू करें

Computer Science · शब्दावली

Merkle–Damgård construction, length-extension attack क्या है?

अन्य नाम: Merkle--Damgård construction · length-extension attack

Definition 27.9 University Computer Science — Year 3 · अध्याय 27 — Symmetric Cryptography and Hash Functions

The Merkle–Damgård construction hashes a message by padding it to whole blocks, with its length in the last one, and running a compression function ff along the blocks: h0h_0 is a fixed initial value, hi=f(hi−1,Mi)h_i = f(h_{i-1}, M_i), and the digest is hnh_n. A length-extension attack uses H(m)H(m) and the length of mm, without mm, to compute H(m ∥ pad ∥ m′)H(m \,\|\, \mathit{pad} \,\|\, m') for any m′m', by continuing the chain from hnh_n.

The Merkle–Damgård chain of H(k \,\|\, m), and its continuation. The tag is the whole state after the last block, so anyone who knows it can hash further blocks; the result is the tag of k \,\|\, m \,\|\, pad \,\|\, m'.
The Merkle–Damgård chain of H(k ∥ m)H(k \,\|\, m), and its continuation. The tag is the whole state after the last block, so anyone who knows it can hash further blocks; the result is the tag of k ∥ m ∥ pad ∥ m′k \,\|\, m \,\|\, \mathit{pad} \,\|\, m'.
अध्याय में पढ़ें →