-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a3bf18
commit fa2fc74
Showing
1 changed file
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
#DataEncrypter | ||
# DataEncrypter | ||
*DataEncrypter* is an easy to use tool for encryption and decryption. It is build to be lightweight and not memory intensive. It currently has a custom implementation of the Advanced Encryption Standard, but is open to be used with different algorithms as well, if they implement the ICryptMethod interface. | ||
|
||
File encryption by using the SecureFile class is very simple to handle. Files are saved as .secf (SECureFile) and provide a encrypted header with previous filename and extension, to restore the file completely after decryption. | ||
|
||
Basic usage of SecureFile: | ||
```C# | ||
var secureFile = new SecureFile(path, key); | ||
|
||
//Handles Memory and feeds the algorithms the correct data | ||
secureFile.Encrypt(); | ||
secureFile.Decrypt(); | ||
|
||
secureFile.Save(newPath); //saves the file | ||
``` |