aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/hash.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-12-31 03:43:02 +0000
committerlloyd <[email protected]>2009-12-31 03:43:02 +0000
commit811fed1957f284456e1455032f729e74c4fed458 (patch)
treea0cfed4f7ff52149db0ff091f8670351fadeea29 /doc/examples/hash.cpp
parentcf6319e4e663f4214a0f9e1509087a58a181910f (diff)
Add copyright and license notes to pretty much every file that didn't have them,
including the examples and self-test code. Most of these files had not copyright/license information at all; since a major point of the examples is to allow users to copy and paste code that already does something they want, an ambigious license is not good.
Diffstat (limited to 'doc/examples/hash.cpp')
-rw-r--r--doc/examples/hash.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/doc/examples/hash.cpp b/doc/examples/hash.cpp
index a97cd6082..feaa2e9b3 100644
--- a/doc/examples/hash.cpp
+++ b/doc/examples/hash.cpp
@@ -1,13 +1,7 @@
/*
-Prints the message digest of files, using an arbitrary hash function
-chosen by the user. This is less flexible that I might like, for example:
- ./hash sha1 some_file [or md5 or sha-1 or ripemd160 or ...]
-will not work, cause the name lookup is case-sensitive. Oh well...
-
-Written by Jack Lloyd ([email protected]), on August 4, 2002
- - December 16, 2003: "Fixed" to accept "sha1" or "md5" as a hash name
-
-This file is in the public domain
+* (C) 2009 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
*/
#include <iostream>