Informatics

pre-preprocessor for C code files

I’ve develop a little script that extracts two (or more) different versions of C code from the same source. This is accomplish by preprocessing preprocessor directives before the C preprocessor, extracting code from this process. The code ( pppc.pl ) can be found at github here. For example, this simple code, in “mycompleteproject.c”: #ifdef COMPLETE_CODE … Continue reading

Informatics

triops: a multiplatform cmdline encryption tool using CHACHA + KECCAK

I’ve developed in C a simple command line tool for encryption/decryption of files, which I have named triops. It uses CHACHA20 as algorithm for encryption/decryption and KECCAK-512 as hash algorithm. Source code is available at github. Check github for latest changes! Executables for some platforms (linux, Windows, HP-UX, Solaris, and Android) are available here. For … Continue reading