This is a native C++ console mode app to hash files using SHA-1; C++ classes wrap the Windows Cryptography Next Generation C API raw handles and functions. Modern C++ techniques like RAII (to manage resources) and C++ exceptions (to signal errors) are used in this code.