aboutsummaryrefslogtreecommitdiff
path: root/src/secret.h
diff options
context:
space:
mode:
authorNicholas Hall <ngh@grandcare.com>2017-09-14 16:42:29 -0500
committerNicholas Hall <ngh@grandcare.com>2017-09-14 16:42:29 -0500
commit52e3ab594b34bf309b8669fcaa855c295a00e114 (patch)
tree464216f7987f6df92d7c2c85bf3d398ef32189ea /src/secret.h
downloadhooking_strcmp-master.tar.xz
hooking_strcmp-master.zip
DC414 meeting presentation filesHEADmaster
Diffstat (limited to 'src/secret.h')
-rw-r--r--src/secret.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/secret.h b/src/secret.h
new file mode 100644
index 0000000..d6ee2ea
--- /dev/null
+++ b/src/secret.h
@@ -0,0 +1,7 @@
+#define A(c) (c)-0x19
+#define UNHIDE_STR(str) do { char *p = str; while (*p) *p++ += 0x19; } while (0)
+#define HIDE_STR(str) do { char *p = str; while (*p) *p++ -= 0x19; } while (0)
+
+char pass[] = {
+ A('c'), A('a'), A('t'), A('z'), A('r'), A('u'), A('l'), 0
+};