From 248f88a02aea778c989f9673dffe5ddf7b7f3ee3 Mon Sep 17 00:00:00 2001 From: "@syxhe" Date: Mon, 2 Sep 2024 22:26:32 -0500 Subject: Make the encrypt function less shitty --- 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 aa88048..15800f4 100644 --- a/src/encryption.h +++ b/src/encryption.h @@ -9,4 +9,7 @@ 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); +// Encrypt a nodelist +int encryptvxgg(const struct nodelist *list, const char *passphrase); + #endif \ No newline at end of file -- cgit v1.2.3