Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ttfh/aes256
Encrypt/Decrypt files using AES256 ECB ANSI X9.23
https://github.com/ttfh/aes256
deprecated
Last synced: 2 months ago
JSON representation
Encrypt/Decrypt files using AES256 ECB ANSI X9.23
- Host: GitHub
- URL: https://github.com/ttfh/aes256
- Owner: TTFH
- Created: 2018-12-16T17:12:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-07T20:57:44.000Z (9 months ago)
- Last Synced: 2024-05-07T21:43:36.533Z (9 months ago)
- Topics: deprecated
- Language: C++
- Homepage:
- Size: 44.9 KB
- Stars: 7
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AES256
Encrypt/Decrypt files using AES256 ECB ANSI X9.23# [DEPRECATED] DO NOT USE. This repo is just for learning purposes only.
EXAMPLE:
```
C:\Users\User\aes256>g++ -Wall -Werror -O3 AES256.cpp -o aes256C:\Users\User\aes256>aes256
This program encrypts/decrypts files
using AES256 encryption with ECB mode of operation
and ANSI X9.23 padding methodThe maximum supported file size is 4GB
Enough RAM is required to load the file
Encrypted files are 1 to 16 bytes larger than the original onesChoose an option:
1) Generate random key (DON'T USE, THIS RNG CAN BE EASILY REVERTED)
2) Load key from file
3) Type key
1Loading Source of Entropy COMPLETE
Generating Keys COMPLETE
Key:
56 57 65 75 4B A9 1F 7E C9 9F 25 EC 3E 46 6B B5
57 DE 37 D2 BB C7 7B 42 F8 A5 62 51 BD BC 29 1AKey has been stored in the file key.bin
Enter name of the file to Encrypt/Decrypt:
WARNING: The file will be overwritten
example.mkvChoose an option:
1) Encrypt
2) Decrypt
15 bytes have been added to the file to encrypt it
Estimated Encryption time: 23 seconds
Encrypted!
1083805680 bytes have been encrypted / decrypted in 23 seconds
File saved on diskC:\Users\User\aes256>aes256
This program encrypts/decrypts files
using AES256 encryption with ECB mode of operation
and ANSI X9.23 padding methodThe maximum supported file size is 4GB
Enough RAM is required to load the file
Encrypted files are 1 to 16 bytes larger than the original onesChoose an option:
1) Generate random key (DON'T USE, THIS RNG CAN BE EASILY REVERTED)
2) Load key from file
3) Type key
2Enter the name of the binary file containing the key
key.bin
Key loaded from file key.bin
Key:
56 57 65 75 4B A9 1F 7E C9 9F 25 EC 3E 46 6B B5
57 DE 37 D2 BB C7 7B 42 F8 A5 62 51 BD BC 29 1AKey has been stored in the file key.bin
Enter name of the file to Encrypt/Decrypt:
WARNING: The file will be overwritten
example.mkvChoose an option:
1) Encrypt
2) Decrypt
2Estimated Decryption time: 56 seconds
Decrypted!
1083805680 bytes have been encrypted / decrypted in 55 seconds
5 bytes have been removed from the decrypted file
File saved on disk
```