summaryrefslogtreecommitdiffstats
path: root/Source/cmCryptoHash.h
Commit message (Collapse)AuthorAgeFilesLines
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-15/+20
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* stringapi: Accept strings when MD5 hashing dataBen Boeckel2014-03-081-2/+2
|
* cmCryptoHash: Add virtual destructorBrad King2011-11-161-0/+1
| | | | | Instances of this class are always subclasses. Use a virtual destructor to ensure the subclasses cleanup correctly.
* cmCryptoHash: Provide factory "New" methodBrad King2011-11-161-0/+3
| | | | | Construct a cmCryptoHash subclass instance based on the name of the desired hash algorithm.
* Add file(SHA*) commands to compute cryptographic hashesBrad King2011-11-161-0/+21
| | | | Add a file() command API for SHA1, SHA224, SHA256, SHA384, and SHA512.
* Factor Compute(File|String)MD5 into cmCryptoHash helperBrad King2011-11-161-0/+40
Define an abstract API around the backend hash algorithm. Expose ifstream errors to HashFile callers. Always try opening the file. Succeed only if the end of file is reached without error.