Installing and using OpenSSL SHA-256 in Visual C++

Background SHA-256 is a cryptographic hash function developed by the US. National Security Agency (NSA) as a U.S. Federal Information Processing Standard (FIPS). The SHA acronym stands for Secure Hash Algorithm. A hash function operates on an arbitrary amount of data and returns a fixed-size bit string, the cryptographic hash value. So why would such …

Continue reading ‘Installing and using OpenSSL SHA-256 in Visual C++’ »

Reading the status of DVD drives in C++

A short and to-the-point C++ recipe for determining the status of your PC / laptop DVD. To study this area in more depth, follow this link for more information, which is where I got much of this inspiration for this code snippet. It works. http://ws0.org/windows-how-to-get-the-tray-status-of-the-optical-drive/ Full code listing