资源简介
最新全景通旗舰版源码内核到krpano1.19pr8支持任何高清图价值9800元720P全景制.zip
代码片段和文件信息
/***********************************************************************
Copyright 2006-2007 Ma Bingyao
These sources is free software. Redistributions of source code must
retain the above copyright notice. Redistributions in binary form
must reproduce the above copyright notice. You can redistribute it
freely. You can use it with any free or commercial software.
These sources is distributed in the hope that it will be useful
but WITHOUT ANY WARRANTY. Without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
You may contact the author by:
e-mail: andot@coolcode.cn
*************************************************************************/
#ifdef HAVE_CONFIG_H
#include “config.h“
#endif
#include “php.h“
#if HAVE_XXTEA
#include “php_xxtea.h“
#include “ext/standard/info.h“ /* for phpinfo() functions */
#include “xxtea.h“
/* compiled function list so Zend knows what‘s in this module */
zend_function_entry xxtea_functions[] =
{
ZEND_FE(xxtea_encrypt NULL)
ZEND_FE(xxtea_decrypt NULL)
ZEND_FE(xxtea_info NULL)
{NULL NULL NULL}
};
/* compiled module information */
zend_module_entry xxtea_module_entry =
{
STANDARD_MODULE_HEADER
XXTEA_MODULE_NAME
xxtea_functions
ZEND_MINIT(xxtea)
ZEND_MSHUTDOWN(xxtea)
NULL
NULL
ZEND_MINFO(xxtea)
XXTEA_VERSION
STANDARD_MODULE_PROPERTIES
};
/* implement standard “stub“ routine to introduce ourselves to Zend */
#if defined(COMPILE_DL_XXTEA)
ZEND_GET_MODULE(xxtea)
#endif
static xxtea_long *xxtea_to_long_array(unsigned char *data xxtea_long len int include_length xxtea_long *ret_len) {
xxtea_long i n *result;
n = len >> 2;
n = (((len & 3) == 0) ? n : n + 1);
if (include_length) {
result = (xxtea_long *)emalloc((n + 1) << 2);
result[n] = len;
*ret_len = n + 1;
} else {
result = (xxtea_long *)emalloc(n << 2);
*ret_len = n;
}
memset(result 0 n << 2);
for (i = 0; i < len; i++) {
result[i >> 2] |= (xxtea_long)data[i] << ((i & 3) << 3);
}
return result;
}
static unsigned char *xxtea_to_byte_array(xxtea_long *data xxtea_long len int include_length xxtea_long *ret_len) {
xxtea_long i n m;
unsigned char *result;
n = len << 2;
if (include_length) {
m = data[len - 1];
if ((m < n - 7) || (m > n - 4)) return NULL;
n = m;
}
result = (unsigned char *)emalloc(n + 1);
for (i = 0; i < n; i++) {
result[i] = (unsigned char)((data[i >> 2] >> ((i & 3) << 3)) & 0xff);
}
result[n] = ‘\0‘;
*ret_len = n;
return result;
}
static unsigned char *php_xxtea_encrypt(unsigned char *data xxtea_long len unsigned char *key xxtea_long *ret_len) {
unsigned char *result;
xxtea_long *v *k v_len k_len;
v = xxtea_to_long_array(data len 1 &v_len);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 506306 2017-01-04 19:32 安装教程.docx
目录 0 2017-01-04 08:50 WWW\
文件 189 2014-04-22 21:11 WWW\.htaccess
文件 7760 2014-11-10 19:00 WWW\360doskill.php
目录 0 2016-12-08 18:27 WWW\App\
目录 0 2016-12-08 18:27 WWW\App\Common\
目录 0 2016-12-08 18:27 WWW\App\Common\Admin\
文件 7095 2014-07-13 18:22 WWW\App\Common\Admin\function.php
文件 4732 2014-08-23 22:47 WWW\App\Common\common.php
目录 0 2016-12-08 18:27 WWW\App\Common\Install\
文件 3934 2008-06-23 14:18 WWW\App\Common\Install\function.php
目录 0 2016-12-08 18:27 WWW\App\Common\Member\
文件 14199 2014-09-29 10:30 WWW\App\Common\Member\function.php
文件 375 2016-11-15 16:10 WWW\App\Common\setting.php
目录 0 2016-12-08 18:27 WWW\App\Conf\
目录 0 2016-12-08 18:27 WWW\App\Conf\Admin\
文件 2572 2008-06-23 14:18 WWW\App\Conf\Admin\config.php
文件 876 2014-11-27 10:26 WWW\App\Conf\config.php
文件 2473 2008-06-23 14:18 WWW\App\Conf\config_bak.php
目录 0 2016-12-08 18:27 WWW\App\Conf\Member\
文件 2516 2008-06-23 14:18 WWW\App\Conf\Member\config.php
目录 0 2016-11-15 17:01 WWW\App\Lang\
目录 0 2016-12-08 18:27 WWW\App\Lib\
目录 0 2016-12-08 18:27 WWW\App\Lib\Action\
目录 0 2016-12-08 18:27 WWW\App\Lib\Action\Admin\
文件 3116 2008-06-23 14:18 WWW\App\Lib\Action\Admin\AdminAction.class.php
文件 5720 2008-06-23 14:18 WWW\App\Lib\Action\Admin\ControlAction.class.php
文件 10918 2008-06-23 14:18 WWW\App\Lib\Action\Admin\Databa
文件 12444 2008-06-23 14:18 WWW\App\Lib\Action\Admin\FilemasterAction.class.php
文件 7920 2008-06-23 14:18 WWW\App\Lib\Action\Admin\GroupAction.class.php
文件 3082 2014-07-13 18:22 WWW\App\Lib\Action\Admin\IndexAction.class.php
............此处省略2462个文件信息
- 上一篇:智能鞋柜APP源码
- 下一篇:“创青春”全国大学生创业计划竞赛-银奖作品.doc
相关资源
- 考勤系统.rar
- 841应用光学资料.rar
- 20操作系统课件.zip
- 4.03.rar
- cce101f5dc01c37bd3bac2b23b446e45.rar
- 90f6e52ed684e12cd67ebde0ade91d67.pdf
- kedatts-副本.rar
- fae0254e00174e083eb4d89f7bc44859.pdf
- 85eb12db8e61043ed3546778388e4944.pdf
- zw_侯捷翻译的IT中文书籍大全.zip
-
数据库答案databa
seanswer.rar - 6f5b3acc2210cd2bf8ed2333d834e1e6.rar
- 《如何阅读一本书》PDF版.pdf
- 任务平台.7z
- Netty实战.zip
- b1fa35afbe505708509675ac3578e902.rar
- 怪曲线、数兔子及其他数学探究 [美基
- 第二册.doc
- bd2ad4e1eea5df59ef853d5753b1c310.rar
- (工商)营业执照生成器破解版.rar
- 三菱FX系列PLC_CAD图库合集.rar
- MetInfo_v5.3.15.zip
- OSSMS.zip
- 基于ssm医院预约挂号系统程序.zip
- 1.0.0.03.7z
- a84fdbbed7bb8526f2fe3e5b03d22852.rar
- extract_es.rar
-
ob
ject-Oriented_Software_Construction中英版 - 02_Sm.project.zip
- 毕业证套打印带完整源码数据库.rar
评论
共有 条评论