GoConqr has a new look! Let us know what you think.

Mind map

Entrada: "a". Chave: "abcdefgh".

Carol Portes Portuguese

Map content

Entrada: "a". Chave: "abcdefgh".

  1. KSA faz permutação no array S com base na chave.

    • Em PRGA, i = (i + 1) % 256; logo, i = 1
      • Se, j = (j + S[i]) % 256. j = S[1] % 256. Logo, j = 115
        • Inverte-se as posições de S[1] e S[115]
          • No fim, (S[(196 + 115]) % 256] ^ 97). S[311] ^ 97. 81 ^ 97 resultará em 48
            • Em ASCII, a = 97 e 0 = 48
            • Logo, a mensagem cifrada será: 0.
        • S[1] = 196 S[115] = 115

Information

Description
Mind Map on Entrada: "a". Chave: "abcdefgh"., created by Carol Portes on 22/09/2015.
Created by
Carol Portes
Views
2
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?