Thư viện ngoài tui dùng là Crypto++: https://www.cryptopp.com/ Demo tui xài bản Visual Studio hơi cũ nên chỗ Project Properties, đổi Windows SDK với Platform Toolset nhé.
https://www.cryptopp.com/docs/ref/
https://www.cryptopp.com/wiki/RSA_Cryptography
https://www.cryptopp.com/wiki/Advanced_Encryption_Standard
https://www.cryptopp.com/wiki/Modes_of_Operation
https://github.com/JetpackUnicorn/ElephantParty
https://www.ired.team/miscellaneous-reversing-forensics/aes-encryption-example-using-cryptopp-.lib-in-visual-studio-c++
https://stackoverflow.com/questions/12306956/example-of-aes-using-crypto