This repository has been archived on 2024-07-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2024-07-20 13:13:27 +03:00

12 lines
430 B
C

#include <stdlib.h>
#include <stdio.h>
int rensa_encrypt(const char *plain, size_t len, const char *key, char zeroth_char, char *cipher);
int rensa_decrypt(const char *cipher, size_t len, const char *key, char zeroth_char, char *plain);
int rensa_fencrypt(FILE *input, FILE *output, FILE *key, size_t key_shift, char zeroth_char);
int rensa_fdecrypt(FILE *input, FILE *output, FILE *key, size_t key_shift, char zeroth_char);