From 863a7a0a45c3ed01af8e155a648b55b59bed4594 Mon Sep 17 00:00:00 2001 From: "@syxhe" Date: Sat, 29 Jun 2024 05:08:52 -0500 Subject: Should work now --- src/encryption.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/encryption.h') 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 @@ /* 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 */ size_t passenc(int fd, const char *passphrase); +/* Encrypt file descriptor FD one block at a time using PASSPHRASE as the encryption key */ +size_t passencblock(int fd, const char *passphrase); + #endif \ No newline at end of file -- cgit v1.2.3