diff options
| author | @syxhe <https://t.me/syxhe> | 2024-06-29 05:08:52 -0500 |
|---|---|---|
| committer | @syxhe <https://t.me/syxhe> | 2024-06-29 05:08:52 -0500 |
| commit | 863a7a0a45c3ed01af8e155a648b55b59bed4594 (patch) | |
| tree | e26cf857f8423bba7d90fd70d43b7df40457cffb /src/encryption.h | |
| parent | 88e58b658ba08cedf9214c01200819da354a1796 (diff) | |
Should work now
Diffstat (limited to 'src/encryption.h')
| -rw-r--r-- | src/encryption.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/encryption.h b/src/encryption.h index eccb6b9..aa88048 100644 --- a/src/encryption.h +++ b/src/encryption.h | |||
| @@ -6,4 +6,7 @@ | |||
| 6 | /* Overwrite an open file with "encrypted" data by XOR'ing each byte with a character from PASSPHRASE. Returns number of bytes overwritten, and -1 on error */ | 6 | /* Overwrite an open file with "encrypted" data by XOR'ing each byte with a character from PASSPHRASE. Returns number of bytes overwritten, and -1 on error */ |
| 7 | size_t passenc(int fd, const char *passphrase); | 7 | size_t passenc(int fd, const char *passphrase); |
| 8 | 8 | ||
| 9 | /* Encrypt file descriptor FD one block at a time using PASSPHRASE as the encryption key */ | ||
| 10 | size_t passencblock(int fd, const char *passphrase); | ||
| 11 | |||
| 9 | #endif \ No newline at end of file | 12 | #endif \ No newline at end of file |
