Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.26 KB

README.md

File metadata and controls

30 lines (23 loc) · 1.26 KB

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!