Skip to content

vinicius-stutz/csharp-encryption-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C# Encryption DLL

DLL class libraries for creating and removing encryption in .Net applications

Build status Stories in Ready Join the chat at https://gitter.im/vinicius-stutz/csharp-encryption-lib

Usage

This is a very simple script to use. Create an instance of the class CryptService (making using the correct namespace) and call the method, passing the desired parameter provider (see enum CryptProvider).

Encrypt

CryptService crip = new CryptService(CryptProvider.DES);
crip.Key = "MY_KEY";
return crip.Encrypt(text);

Decrypt

CryptService crip = new CryptService(CryptProvider.DES);
crip.Key = "MY_KEY";
return crip.Decrypt(text);

FYI: The comments in the code are all in Portuguese. Feel free to translate ;)

MIT License

Read the LICENSE file included with the project.

Enjoy!