summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/String-SHA384-Works.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-11-16 15:12:18 (GMT)
committerBrad King <brad.king@kitware.com>2011-11-16 15:29:35 (GMT)
commit2e9c26cf9616fead92ec65eefc696bcf9761b996 (patch)
tree35460a3ee2bde7485174fe3adefa4fca19e0ac68 /Tests/CMakeTests/String-SHA384-Works.cmake
parent293a7f4e2ae9b458d3efefcfe133d0ad5320a1b2 (diff)
downloadCMake-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.cmake2
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}")