CMake/Tests/CMakeTests/String-SHA512-Works.cmake
Brad King 2e9c26cf96 Add string(MD5) and string(SHA*) commands to compute hashes
Provide a CMake-language binding to these cryptographic hashes.  Add a
string() command API for MD5, SHA1, SHA224, SHA256, SHA384, and SHA512.
2011-11-16 10:29:35 -05:00

3 lines
67 B
CMake

string(SHA512 sha512 "sample input string\n")
message("${sha512}")