diff options
author | Brad King <brad.king@kitware.com> | 2011-11-16 15:12:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-11-16 15:29:35 (GMT) |
commit | 2e9c26cf9616fead92ec65eefc696bcf9761b996 (patch) | |
tree | 35460a3ee2bde7485174fe3adefa4fca19e0ac68 /Tests/CMakeTests/String-SHA384-Works.cmake | |
parent | 293a7f4e2ae9b458d3efefcfe133d0ad5320a1b2 (diff) | |
download | CMake-2e9c26cf9616fead92ec65eefc696bcf9761b996.zip CMake-2e9c26cf9616fead92ec65eefc696bcf9761b996.tar.gz CMake-2e9c26cf9616fead92ec65eefc696bcf9761b996.tar.bz2 |
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.
Diffstat (limited to 'Tests/CMakeTests/String-SHA384-Works.cmake')
-rw-r--r-- | Tests/CMakeTests/String-SHA384-Works.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CMakeTests/String-SHA384-Works.cmake b/Tests/CMakeTests/String-SHA384-Works.cmake new file mode 100644 index 0000000..828a190 --- /dev/null +++ b/Tests/CMakeTests/String-SHA384-Works.cmake @@ -0,0 +1,2 @@ +string(SHA384 sha384 "sample input string\n") +message("${sha384}") |