Skip to content

Library that makes encrypting strings, byte arrays and files easy. Supports Aes, TripleDES, (.net framework only, Des, RC2 and Rijndael)

License

Notifications You must be signed in to change notification settings

zyj0021/EasyEncrypt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyEncrypt


Library that makes encrypting strings, byte arrays and files easy. Supports Aes, TripleDES, (.net framework only, Des, RC2 and Rijndael)

encryptedString = new Encryption(Aes.Create(), Password, Salt).Encrypt(Input);
decryptedString = new Encryption(Aes.Create(), Password, Salt).Decrypt(EnryptedInput);

encryptedString = new Encryption(TripleDES.Create(), Password, Salt).Encrypt(Input);
decryptedString = new Encryption(TripleDES.Create(), Password, Salt).Decrypt(EnryptedInput);

encryptedString = new Encryption(DES.Create(), Password, Salt).Encrypt(Input);
decryptedString = new Encryption(DES.Create(), Password, Salt).Decrypt(EnryptedInput);

encryptedString = new Encryption(RC2.Create(), Password, Salt).Encrypt(Input);
decryptedString = new Encryption(RC2.Create(), Password, Salt).Decrypt(EnryptedInput);

encryptedString = new Encryption(Rijndael.Create(), Password, Salt).Encrypt(Input);
decryptedString = new Encryption(Rijndael.Create(), Password, Salt).Decrypt(EnryptedInput);

About

Library that makes encrypting strings, byte arrays and files easy. Supports Aes, TripleDES, (.net framework only, Des, RC2 and Rijndael)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%