Plan 9 from Bell Labs’s /usr/web/sources/contrib/mycroftiv/unreleased/tripcodefinder/triptest.c

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <openssl/des.h>

#include "str_utils.h"
#include "str_utils.c"
#include "hash_2chan.h"
#include "hash_2chan.c"

int main(char argc, char *argv[]) {
	char instr[20] = "";
	strcpy(instr, argv[1]);
	printf("%s\n", instr);
	char *output = encrypt_2chan(instr, sizeof(instr));
	printf("%s\n", output);
/*	printf("%s encrypts to %s\n", argv[1], output); */
	return 0;
}

extern int tripcrunch_test(const char *trip, const char *code, size_t len, FILE *stream) {
	return 0;
}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].