Jump to content

User talk:87.69.235.248: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
Line 6: Line 6:
:[[:File:Feistel cipher diagram.png]] also have n+1 rounds + the text says: <math>i =0,1,\dots,n</math>, which mean n+1 rounds. [[Special:Contributions/87.69.235.248|87.69.235.248]] ([[User talk:87.69.235.248#top|talk]]) 17:43, 12 September 2011 (UTC)
:[[:File:Feistel cipher diagram.png]] also have n+1 rounds + the text says: <math>i =0,1,\dots,n</math>, which mean n+1 rounds. [[Special:Contributions/87.69.235.248|87.69.235.248]] ([[User talk:87.69.235.248#top|talk]]) 17:43, 12 September 2011 (UTC)
::OK, let's try this with an example. Assume n=4. Hence there are 5 rounds, which have five round keys: <math>K_0, K_1, K_2, K_3, K_4</math>. The first round takes <math>L_0,R_0</math> as input uses the key <math>K_0</math> and computes <math>L_1,R_1</math>. The next round takes <math>L_1,R_1</math> as input uses the key <math>K_1</math> and computes <math>L_2,R_2</math>. Going further, the third round takes <math>L_2,R_2</math> as input uses the key <math>K_2</math> and computes <math>L_3,R_3</math>. You should see a pattern here: each round takes input <math>L_i,R_i</math> as input uses the key <math>K_i</math> and computes <math>L_{i+1]}, R_{i+1}</math>. I.e. the index of the result is always by 1 larger than the input and the index of the round key. I.e. for n=5, the last round key is <math>K_4</math> and the output is <math>L_5, R_5</math>. More generally if the last round function is <math>K_n</math> then the result should be <math>L_{n+1]}, R_{n+1}</math> and not <math>L_{n]}, R_{n}</math>. Thus your diagram is incorrect. [[Special:Contributions/81.62.73.125|81.62.73.125]] ([[User talk:81.62.73.125|talk]]) 18:41, 12 September 2011 (UTC)
::OK, let's try this with an example. Assume n=4. Hence there are 5 rounds, which have five round keys: <math>K_0, K_1, K_2, K_3, K_4</math>. The first round takes <math>L_0,R_0</math> as input uses the key <math>K_0</math> and computes <math>L_1,R_1</math>. The next round takes <math>L_1,R_1</math> as input uses the key <math>K_1</math> and computes <math>L_2,R_2</math>. Going further, the third round takes <math>L_2,R_2</math> as input uses the key <math>K_2</math> and computes <math>L_3,R_3</math>. You should see a pattern here: each round takes input <math>L_i,R_i</math> as input uses the key <math>K_i</math> and computes <math>L_{i+1]}, R_{i+1}</math>. I.e. the index of the result is always by 1 larger than the input and the index of the round key. I.e. for n=5, the last round key is <math>K_4</math> and the output is <math>L_5, R_5</math>. More generally if the last round function is <math>K_n</math> then the result should be <math>L_{n+1]}, R_{n+1}</math> and not <math>L_{n]}, R_{n}</math>. Thus your diagram is incorrect. [[Special:Contributions/81.62.73.125|81.62.73.125]] ([[User talk:81.62.73.125|talk]]) 18:41, 12 September 2011 (UTC)
:::my file and [[:File:Feistel cipher diagram.png]] are the same/ so you have to choices:
:::my file and [[:File:Feistel cipher diagram.png]] are the same/ so you have two choices:
:::#remove the PNG picture
:::#remove the PNG picture
:::#change the text of the article
:::#change the text of the article

Revision as of 19:00, 12 September 2011

Your digaram of a Feistel cipher

I reverted your edit, because your diagram is wrong. Either you describe a cipher with n rounds. Then the round keys have indices from 0 to n-1. and the ciphertext blocks have indices n. In this case the text needs to be changed too. Or you describe a Feistel cipher with n+1 rounds. Then the round keys should have indices running from 0 through n and the ciphertext blocks have indices n+1. 81.62.73.125 (talk) 17:03, 12 September 2011 (UTC)[reply]

File:Feistel cipher diagram.png also have n+1 rounds + the text says: , which mean n+1 rounds. 87.69.235.248 (talk) 17:43, 12 September 2011 (UTC)[reply]
OK, let's try this with an example. Assume n=4. Hence there are 5 rounds, which have five round keys: . The first round takes as input uses the key and computes . The next round takes as input uses the key and computes . Going further, the third round takes as input uses the key and computes . You should see a pattern here: each round takes input as input uses the key and computes Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "http://localhost:6011/en.wikipedia.org/v1/":): {\displaystyle L_{i+1]}, R_{i+1}} . I.e. the index of the result is always by 1 larger than the input and the index of the round key. I.e. for n=5, the last round key is and the output is . More generally if the last round function is then the result should be Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "http://localhost:6011/en.wikipedia.org/v1/":): {\displaystyle L_{n+1]}, R_{n+1}} and not . Thus your diagram is incorrect. 81.62.73.125 (talk) 18:41, 12 September 2011 (UTC)[reply]
my file and File:Feistel cipher diagram.png are the same/ so you have two choices:
  1. remove the PNG picture
  2. change the text of the article
changing again to File:Feistel cipher diagram.png is stupid 19:00, 12 September 2011 (UTC)