pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:3185:    pop_n_elems(args);    push_float( - (FLOAT_TYPE)tmp.tv_sec-((FLOAT_TYPE)tmp.tv_usec)/1000000 );    return;    }    }    pop_n_elems(args);    INACCURATE_GETTIMEOFDAY(&ret);    push_int(ret.tv_sec);   }    - /*! @decl string(0..127) crypt(string password) -  *! @decl int(0..1) crypt(string typed_password, string crypted_password) + /*! @decl string(46..122) crypt(string(1..255) password) +  *! @decl int(0..1) crypt(string(1..255) input_password, @ +  *! string(46..122) crypted_password)    *!    *! This function crypts and verifies a short string (only the first    *! 8 characters are significant).    *!    *! The first syntax crypts the string @[password] into something that    *! is hopefully hard to decrypt.    *!    *! The second syntax is used to verify @[typed_password] against    *! @[crypted_password], and returns @expr{1@} if they match, and    *! @expr{0@} (zero) otherwise.