#ifndef __SLOTS__ENCRYPTION_H__176771896719387 #define __SLOTS__ENCRYPTION_H__176771896719387 #include "ll.h" #include /* 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); // Encrypt a nodelist int encryptvxgg(const struct nodelist *list, const char *passphrase); #endif