Questions tagged [aes]
Advanced Encryption Standard (AES) is a cryptographic block cipher algorithm.
121 questions
7
votes
1
answer
917
views
C++ program to encrypt hardcoded text
This code takes in a hardcoded input buffer, maximum 64 chars, encrypts, decrypts and outputs decrypted buffer using AES CBC mechanism. Entered password is converted to a SHA256 digest and copied into ...
6
votes
1
answer
719
views
AES-256 file encryption in c#
I recently needed to write a portion of code to encrypt file to AES-256 in C# language.
Since I did not find ready implementations of it, apart from string encryption, and since I'm very far from ...
2
votes
2
answers
268
views
Encrypt a String using AES in CBC mode
Your opinion interests me regarding this program.
This program encrypts a text message using the AES256 algorithm and CBC.
It allows the creation of an encrypted message that contains:
The salt used ...
4
votes
1
answer
175
views
Encrypted websocket chat using AES (EAX) and RSA for signing
For learning purposes and because it really interests me I am trying to get a better understanding of cryptography by trying to make my own basic secure chat-application. I posted a first version of ...
2
votes
1
answer
112
views
An implementation of encryption cascade
I'm looking for feedback on some source code, I have everything documented and have corrected some errors. Looking to see what I did correctly, incorrectly, and what can be improved.
...
4
votes
1
answer
123
views
Implementation of aes-cbc-hmac combined with xchacha20-poly1305
I’m using two ciphers in this code that are in this order- encrypt plain text with xchacha20-poly1305 then encrypt the resulting ciphertext with aes-cbc-blake2b hmac.
I was told elsewhere rather than ...
0
votes
1
answer
2k
views
Encrypt and decrypt text using 256-bit AES-GCM
I'm working on building an encrypt/decrypt feature using AES, and a fixed AES 256-bit key size. I have decided on using AES-GCM, as it seems the most performant and secure.
I would like to know ...
0
votes
0
answers
9k
views
Simple AES encrypt/decrypt methods for .NET 6 and .NET Framework
I wrote some AES encryption/decryption methods with the following requirements:
Inputs should be easy-to-use strings.
Something encrypted in a .NET 6
app using these methods should be able to be ...
0
votes
2
answers
3k
views
AES GCM C++ implementation
I have written a C++ program that uses the Crypto++ library to encrypt files using AES-256Bit (in GCM mode). I am planning to eventually have the program store the keys for the files in a file e.g. ...
3
votes
2
answers
8k
views
AES implementation in C
I've implemented AES encryption in C to get more familiar with the language and to understand how encryption works better. I understand this code is unsuitable for actual cryptographic use and I'd ...
5
votes
1
answer
1k
views
Rijndael Cipher in C++ (128bit AES)
I am a hobbyist and do not work in the industry, but I do have an interest in programming an cryptography. I decided to have a go at writing a 128bit implementation of AES in C++. This is my first ...
3
votes
0
answers
122
views
Arduino portenta H7 compatible message encryption and decryption
I am looking to build a message encryption/decription method that would allow messages to be encrypted in a timely fashion on board an Arduino Portenta H7, using as much of the onboard hardware ...
4
votes
5
answers
7k
views
C++ AES Encryption Class
I am working with OpenSSL and writing an AES256 encryption module. My knowledge of cybersecurity is not vast and I would like to know whether there are any obvious holes I'm leaving. The intent is for ...
6
votes
2
answers
3k
views
AES implementation in python
For educational purposes, I have implemented the AES block cipher in python. I decided to follow the interface for block cipher modules as defined in PEP 272. The implementation consists of two python ...
4
votes
2
answers
1k
views
Encryption/Decryption between Python and Node JS
I have created a Python & Node JS encryption/decryption AES 256-CFB. The point of this little project is that I will encrypt a special URL with Python covered with base64 & URL encoding and ...