Skip to content

Security Cryptography library used in projects created by the Code Generator tool.

License

Notifications You must be signed in to change notification settings

Tolitech/CodeGenerator.Security.Cryptography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tolitech.CodeGenerator.Security.Cryptography

Cryptography library used in projects created by the Code Generator tool.

This project implements and makes available public methods (wrap) for cryptography with Hash algorithm and Advanced Encryption Standard (AES), facilitating its use within projects.

Tolitech Code Generator Tool: http://www.tolitech.com.br

Examples:

string key = AesCryptography.GenerateKey();
string iv = AesCryptography.GenerateIV();
string encrypted = AesCryptography.Encrypt("plainText", key, iv);
string decrypted = AesCryptography.Decrypt(textEncrypted, key, iv);
var bytes = File.ReadAllBytes(Path.Combine(Directory.GetCurrentDirectory(), "Assets", "image.jpeg"));
var encrypted = AesCryptography.Encrypt(bytes, key, iv);
var decrypted = AesCryptography.Decrypt(encrypted, key, iv);

About

Security Cryptography library used in projects created by the Code Generator tool.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages