Skip to content

AES-256 Microsoft Cryptography API Example Use.

Notifications You must be signed in to change notification settings

a7t0fwa7/AESCrypt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AESCrypt

AESCrypt implementation of Microsoft Cryptography API, encrypt/decrypt with AES-256 from a passphrase.

Example use.

PS C:\Users\Fantastic\source\repos\AESCrypt\x64\Release> .\AESCrypt.exe .\secret.txt howami encrypt
Performing operation: Encrypting file
Performing operation: Deriving key from password
Derived key:
eb 4a 5c d0 b7 3d bf b8 5e 8c 59 b6 92 b4 5b c2
c4 fd f2 41 92 32 6d 8c da 37 d7 02 e0 b3 01 c6
Performing operation: Generating random bytes
Random bytes generated:
17 32 b9 8a 6f 3e 83 bb ae f1 60 b4 1b 0b 93 3c
Encryption successful.
PS C:\Users\Fantastic\source\repos\AESCrypt\x64\Release> .\AESCrypt.exe .\secret.txt.enc howami decrypt
Performing operation: Decrypting file
IV:
17 32 b9 8a 6f 3e 83 bb ae f1 60 b4 1b 0b 93 3c
Performing operation: Deriving key from password
Derived key:
eb 4a 5c d0 b7 3d bf b8 5e 8c 59 b6 92 b4 5b c2
c4 fd f2 41 92 32 6d 8c da 37 d7 02 e0 b3 01 c6
Decryption successful.

PS C:\Users\Fantastic\source\repos\AESCrypt\x64\Release> type .\secret.txt.enc
2¹Šo>ƒ»®ñ`´

<¸ÓmHðç©Ù?xt¢;
PS C:\Users\Fantastic\source\repos\AESCrypt\x64\Release> type .\secret.txt.enc.dec
1234

License

These files are available under a Attribution-NonCommercial-NoDerivatives 4.0 International license.

About

AES-256 Microsoft Cryptography API Example Use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%