1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 11:56:37 +02:00
Files
anope/include/encrypt.h
T
Adam 14a957f8a0 Update copyright to 2013. This was done with:
find include/ src/ lang/ docs/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2013-01-09 04:23:25 -05:00

21 lines
594 B
C

/* Include file for high-level encryption routines.
*
* (C) 2003-2013 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
*
*/
typedef struct encryption_ {
int (*encrypt)(const char *src, int len, char *dest, int size);
int (*encrypt_check_len)(int passlen, int bufsize);
int (*decrypt)(const char *src, char *dest, int size);
int (*check_password)(const char *plaintext, const char *password);
} Encryption;