Discuz strhash函数 用途不祥
- //不知道干啥的function strhash(, = 'DECODE', = '') { = md5( != '' ? : getglobal('authkey')); if( == 'DECODE') { = gzuncompress(base64_decode()); = substr(, 0, -16); = substr(, -16); unset(); } = substr(md5(.substr(, 0, 16)), 4, 8).substr(md5(.substr(, 16, 16)), 18, 8); if( == 'DECODE') { return == ? : ''; } return base64_encode(gzcompress(.));}