From 341bd961f518bc3dffb3b09d8259009d2a4e2d1c Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 26 Jul 2009 18:10:37 +0000 Subject: [PATCH] decode magellan timestamps --- src/tools/gethash.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/tools/gethash.c diff --git a/src/tools/gethash.c b/src/tools/gethash.c new file mode 100644 index 000000000..65fc1ef76 --- /dev/null +++ b/src/tools/gethash.c @@ -0,0 +1,23 @@ +#include +#include +#include + +int main(int argc, char ** argv) +{ + char key[4]; + char code[4]; + char result[4]; + int a, i, rot; + for (a=1;a