#include #include "str_utils.h" #include "str_utils.c" #include "hash_2chan.h" #include "hash_2chan.c" int main(char argc, char *argv[]) { int count = atoi(argv[1]); char buf[32] = ""; read(0, buf, 32); char *output = encrypt_2chan(buf, sizeof buf); printf("%s\n", output); char *old=strdup(output); for (int i; i < count; i++){ char *output = encrypt_2chan(old, 11); printf("%s - %s\n", output, old); old=output; } return 0; } extern int tripcrunch_test(const char *trip, const char *code, size_t len, FILE *stream) { return 0; }