Buscar este blog

miércoles, 20 de febrero de 2013

Mutant Encryption Algorithm

Today's project is more about the same topic of encrypting passwords.This piece of code is aimed to encrypt passwords, but this time it won't return a single character array, but a constantly-changing matrix which contains the password. I am currently working on the decrypting algorithm, which I'm done so far with. As you may deduce from the code, what I do is 'insert' the password character by character into the matrix following this order:

  • First element will go in row 0 and a random column between 13 and 36
  • Second element will go in row 1 and a random column between 13 and 36
                                                                  .
                                                                  .
                                                                  .
                                                                  .
                                                                  .
  • 'n' element will go in row n-1 and a random column between 13 and 36
Here I attach the file, as always:


And here I show the code, which is really simple:


No hay comentarios:

Publicar un comentario