I'm looking for some sample code which would demonstrate AES encryption using SHA 256 as the hash. 1 or two .cpp or .h files would be appreciated, I prefer not to mess with huge libraries or folders of unnecessary headers.

I looked on google and found a semi-functional AES example, but for the life of me I couldn't find a SHA 256 implementation..

thanks

TrueCrypt is full-featured and comes with source code (but the code will be big I guess) :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.