so i wrote this module based on c++ that has almost all the available modes of operation and they're relative algorithms associated to each one, this is how you can use it to encrypt and decrypt:
is very very user friendly, other libraries such as crypto++ make it really hard for newbies to use them, this one instead is newbie-proof, if you want to know more about it,here's the github repository with all documentation, tests, etc... im not trying to sell it, so don't ask me, im just sharing it, so maybe i can get some new insights, or someone more advances could even tell me how to do better, i don't know. here's the link: https://github.com/Somorpher/ByteCrypt
C++:
#include "/path/to/ByteCrypt.hpp"
using namespace ByteCryptModule;
int main(){
auto encrypted = bCrypt.gcm_encrypt(buffer, secret, e_symmetric_algo::AES);
auto decrypted = bCrypt.gcm_decrypt(encrypted, e_symmetric_algo::AES);
std::cout << "decrypted: " << decrypted.result << "\n";
return 0;
}
is very very user friendly, other libraries such as crypto++ make it really hard for newbies to use them, this one instead is newbie-proof, if you want to know more about it,here's the github repository with all documentation, tests, etc... im not trying to sell it, so don't ask me, im just sharing it, so maybe i can get some new insights, or someone more advances could even tell me how to do better, i don't know. here's the link: https://github.com/Somorpher/ByteCrypt