pike.git
/
src
/
post_modules
/
Nettle
/
nettle.cmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/post_modules/Nettle/nettle.cmod:1:
/* nettle.cmod -*- c -*- */ #include "global.h"
-
RCSID("$Id: nettle.cmod,v 1.
16
2003/08/
24
18
:
28
:
24
nilsson Exp $");
+
RCSID("$Id: nettle.cmod,v 1.
17
2003/08/
25
03
:
34
:
23
nilsson Exp $");
#include "interpret.h" #include "svalue.h" /* For this_object() */ #include "object.h" #include "module_support.h" #include "nettle_config.h" #ifdef HAVE_LIBNETTLE
pike.git/src/post_modules/Nettle/nettle.cmod:180:
if(THIS->ctx->nsources) free(THIS->sources); free(THIS->ctx); } } /*! @endclass */ char *crypt_md5(int pl, const char *pw, int sl, const char *salt);
-
/*! Does the crypt_md5 abrakadabra (MD5 + snakeoil).
+
/*!
@decl string crypt_md5(string password, string salt)
+
*!
Does the crypt_md5 abrakadabra (MD5 + snakeoil).
*! It is assumed that @[salt] does not contain "$". */ PIKEFUN string crypt_md5(string pw, string salt) { NO_WIDE_STRING(pw); NO_WIDE_STRING(salt); RETURN make_shared_string(crypt_md5(pw->len, pw->str, salt->len, salt->str)); }