A file encryption implemented in C