mirror of
https://github.com/anope/anope.git
synced 2026-06-25 10:56:37 +02:00
969aacbf78
find include/ src/ lang/ docs/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
21 lines
594 B
C
21 lines
594 B
C
/* Include file for high-level encryption routines.
|
|
*
|
|
* (C) 2003-2014 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;
|
|
|