aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/decrypt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/decrypt.cpp')
-rw-r--r--doc/examples/decrypt.cpp17
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/examples/decrypt.cpp b/doc/examples/decrypt.cpp
index 68d5f890b..ebab5d804 100644
--- a/doc/examples/decrypt.cpp
+++ b/doc/examples/decrypt.cpp
@@ -1,14 +1,17 @@
/*
-Decrypt files encrypted with the 'encrypt' example application.
-
-I'm being lazy and writing the output to stdout rather than stripping off the
-".enc" suffix and writing it there. So all diagnostics go to stderr so there is
-no confusion.
+* (C) 2009 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
-Written by Jack Lloyd ([email protected]) on August 5, 2002
+/*
+Decrypt files encrypted with the 'encrypt' example application.
-This file is in the public domain
+I'm being lazy and writing the output to stdout rather than stripping
+off the ".enc" suffix and writing it there. So all diagnostics go to
+stderr so there is no confusion.
*/
+
#include <fstream>
#include <iostream>
#include <string>