Buscar este blog

domingo, 27 de enero de 2013

Password-Encryption with C++

Today's project is about protecting your passwords. There are some powerful programs which are capable of stealing passwords from apparently secure Internet sites. In order to avoid this, I developed an algorithm to encrypt any alphanumeric password given by the user. I am currently working on the decryption algorithm, which is clearly more difficult. The program asks the user to enter the password, and afterwards he is prompted to choose an encryption level (simple mode or advanced mode). And the program generates another password with different characters. As you may notice, the encryption algorithm IS NOT RANDOM AT ALL, so that's why I'm currently working on the other way round code. Here are a couple of snapshots of the program.

In this one, user chose simple mode encryption:




And in this one, user chose advanced mode encryption:



I let you download the executable file from my Skydrive account:



And finally, here's the code. Notice that the encryption algorithm can be anything the developer wants. The more complex it is, the less vulnerable is for possible hacking. If the code was made using any kind of pre-established random functionality, the deencryption algorithm would be really hard. This program and the one I'm into right now are designed to work together: one encrypts, the other one decrypts the first one's output.





No hay comentarios:

Publicar un comentario