1
/* Copyright (C) 2000-2003 Peter Selinger.
2
This file is part of ccrypt. It is free software and it is covered
3
by the GNU general public license. See the file COPYING for details. */
5
/* unixcryptlib.c: library to simulate old "unix crypt" program */
6
/* $Id: unixcryptlib.h,v 1.2 2003/03/30 00:38:29 selinger Exp $ */
8
/* WARNING: do not use this software for encryption! The encryption
9
provided by this program has been broken and is not secure. Only
10
use this software to decrypt existing data. */
12
#ifndef _UNIXCRYPTLIB_H
13
#define _UNIXCRYPTLIB_H
15
#include "ccryptlib.h"
17
int unixcrypt_init(ccrypt_stream_t *b, char *key);
18
int unixcrypt(ccrypt_stream_t *b);
19
int unixcrypt_end(ccrypt_stream_t *b);
21
#endif /* _UNIXCRYPTLIB_H */