diff --git a/demos/Makefile b/examples/Makefile similarity index 100% rename from demos/Makefile rename to examples/Makefile diff --git a/demos/auth.c b/examples/auth.c similarity index 95% rename from demos/auth.c rename to examples/auth.c index d11ffde7..0edbd18c 100644 --- a/demos/auth.c +++ b/examples/auth.c @@ -1,6 +1,6 @@ /* * GraxRabble - * Demo programs for libsodium. + * example programs for libsodium. */ #include #include @@ -8,7 +8,7 @@ #include /* library header */ -#include "utils.h" /* utility functions shared by demos */ +#include "utils.h" /* utility functions shared by examples */ /* * This operation computes an authentication tag for a message and a diff --git a/demos/box.c b/examples/box.c similarity index 97% rename from demos/box.c rename to examples/box.c index 918a4f90..d19dde86 100644 --- a/demos/box.c +++ b/examples/box.c @@ -1,6 +1,6 @@ /* * GraxRabble - * Demo programs for libsodium. + * example programs for libsodium. */ #include #include @@ -8,7 +8,7 @@ #include /* library header */ -#include "utils.h" /* utility functions shared by demos */ +#include "utils.h" /* utility functions shared by examples */ /* * Using public-key authenticated encryption, Bob can encrypt a diff --git a/demos/box_detached.c b/examples/box_detached.c similarity index 97% rename from demos/box_detached.c rename to examples/box_detached.c index f93b7af7..e7f5de3f 100644 --- a/demos/box_detached.c +++ b/examples/box_detached.c @@ -1,6 +1,6 @@ /* * GraxRabble - * Demo programs for libsodium. + * example programs for libsodium. */ #include #include @@ -8,7 +8,7 @@ #include /* library header */ -#include "utils.h" /* utility functions shared by demos */ +#include "utils.h" /* utility functions shared by examples */ /* * Using public-key authenticated encryption, Bob can encrypt a diff --git a/demos/generichash.c b/examples/generichash.c similarity index 96% rename from demos/generichash.c rename to examples/generichash.c index 2167514b..e4cd3700 100644 --- a/demos/generichash.c +++ b/examples/generichash.c @@ -1,6 +1,6 @@ /* * GraxRabble - * Demo programs for libsodium. + * example programs for libsodium. */ #include #include @@ -8,7 +8,7 @@ #include /* library header */ -#include "utils.h" /* utility functions shared by demos */ +#include "utils.h" /* utility functions shared by examples */ /* * This function computes a fixed-length fingerprint for an arbitrary long message. diff --git a/demos/generichash_stream.c b/examples/generichash_stream.c similarity index 94% rename from demos/generichash_stream.c rename to examples/generichash_stream.c index 4550ac10..cb01f13a 100644 --- a/demos/generichash_stream.c +++ b/examples/generichash_stream.c @@ -1,6 +1,6 @@ /* * GraxRabble - * Demo programs for libsodium. + * example programs for libsodium. */ #include #include @@ -8,7 +8,7 @@ #include /* library header */ -#include "utils.h" /* utility functions shared by demos */ +#include "utils.h" /* utility functions shared by examples */ /* * Streaming variant of generic hash. This has the ability to hash diff --git a/demos/shorthash.c b/examples/shorthash.c similarity index 94% rename from demos/shorthash.c rename to examples/shorthash.c index 0cd6cdd0..9e7f9e4d 100644 --- a/demos/shorthash.c +++ b/examples/shorthash.c @@ -1,6 +1,6 @@ /* * GraxRabble - * Demo programs for libsodium. + * example programs for libsodium. */ #include #include @@ -8,7 +8,7 @@ #include /* library header */ -#include "utils.h" /* utility functions shared by demos */ +#include "utils.h" /* utility functions shared by examples */ /* * Many applications and programming language implementations were diff --git a/demos/sign.c b/examples/sign.c similarity index 96% rename from demos/sign.c rename to examples/sign.c index 78a9279f..b95e9d81 100644 --- a/demos/sign.c +++ b/examples/sign.c @@ -1,6 +1,6 @@ /* * GraxRabble - * Demo programs for libsodium. + * example programs for libsodium. */ #include #include @@ -8,7 +8,7 @@ #include /* library header */ -#include "utils.h" /* utility functions shared by demos */ +#include "utils.h" /* utility functions shared by examples */ /* * Signs a message with secret key which will authenticate a message. diff --git a/demos/utils.h b/examples/utils.h similarity index 100% rename from demos/utils.h rename to examples/utils.h