This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
cathook/ucccccp/README.md
2018-05-22 20:48:04 +02:00

915 B

ucccccp

Universal Cool Cheater Crypto Chit-Chat Protocol (meme)

This repo includes example code so you can include the lib to your cheat easily! Make sure to look at example.cpp!

 *  Usage:
 *  	To send message, call ucccccp::encrypt on text of the message and send the result to chat
 *  	When receiving a message, call ucccccp::validate, and if it succeeds, call ucccccp::decrypt and show the result
 *
 *		To include this to your project, add ucccccp.hpp and base64.h to your source and #include "ucccccp.hpp"
 *
 *		Feel free to suggest improvements! Use the github repo (https://github.com/nullifiedcat/ucccccp) to submit issues.
 *
 *  General structure of message:
 *  	!![version][data]
 *  		version: char from base64 alphabet
 *  		data: depends on version
 *
 * 	Versions:
 * 	A:
 * 		!!A[data][checksum]
 * 			data = base64(crappy_xorstring(input))
 *			checksum = crappy_checksum(input)