Cesar Encryption Implementation.
Implentação da Criptografia de Cesar
Do a project rebuild and copy a generated DLL and import it into your project.
Faça um rebuild do projeto e cópie a DLL gerada e importe em seu projeto.
First add using in your class.
Primeiro adicione a referência em sua classe.
using CesarCrypt.Service;
In your method
string NormalText = "abcd"; string EncryptedText = CryptoService.Encrypt(NormalText, 1);// output "bcde" string EncryptedText2 = CryptoService.Encrypt(NormalText, 2);// output "cdef"
string NormalText = "abcd"; string EncryptedText = CryptoService.Decrypt(NormalText, 1);// output "zabc" string EncryptedText2 = CryptoService.Decrypt(NormalText, 2);// output "yzab"
This project is licensed under GNU General Public License v2.0 - see the LICENSE file for details