summaryrefslogtreecommitdiff
path: root/other/fun/cracker.c
diff options
context:
space:
mode:
Diffstat (limited to 'other/fun/cracker.c')
-rw-r--r--other/fun/cracker.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/other/fun/cracker.c b/other/fun/cracker.c
index 9cfe96d7..502a8af0 100644
--- a/other/fun/cracker.c
+++ b/other/fun/cracker.c
@@ -9,15 +9,16 @@
9 * Will try to find a public key starting with: ABCDEF 9 * Will try to find a public key starting with: ABCDEF
10 */ 10 */
11 11
12#include "../../testing/misc_tools.c" 12#include <stdlib.h>
13#include <time.h> 13#include <stdio.h>
14#include <string.h>
14 15
15/* NaCl includes*/ 16/* Sodium includes*/
16#include <sodium/crypto_scalarmult_curve25519.h> 17#include <sodium/crypto_scalarmult_curve25519.h>
17#include <sodium/randombytes.h> 18#include <sodium/randombytes.h>
18 19
19/* Sodium include*/ 20#include "../../testing/misc_tools.h"
20//#include <sodium.h> 21#include "../../toxcore/ccompat.h"
21 22
22void print_key(uint8_t *client_id) 23void print_key(uint8_t *client_id)
23{ 24{