From bcea56263654628d04958b3eed712700b31b58f2 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 25 Mar 2018 01:09:44 +0900 Subject: [PATCH] =?UTF-8?q?js=20=ED=8C=8C=EC=9D=BC=20=EC=9D=B4=EB=8F=99.?= =?UTF-8?q?=20md5-min.js=20=EC=A0=9C=EA=B1=B0=20func.php=20=EC=9D=B4?= =?UTF-8?q?=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- e_lib/md5-min.js | 9 --------- f_config/config.php | 2 +- {f_func => f_config}/func.php | 0 f_func/_common.php | 10 ---------- i_entrance/admin_userlist.php | 2 +- i_entrance/entrance.php | 2 +- i_entrance/user_info.html | 2 +- {f_func => js}/func.js | 0 8 files changed, 4 insertions(+), 23 deletions(-) delete mode 100644 e_lib/md5-min.js rename {f_func => f_config}/func.php (100%) delete mode 100644 f_func/_common.php rename {f_func => js}/func.js (100%) diff --git a/e_lib/md5-min.js b/e_lib/md5-min.js deleted file mode 100644 index 4c8f0a35..00000000 --- a/e_lib/md5-min.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message - * Digest Algorithm, as defined in RFC 1321. - * Version 2.2 Copyright (C) Paul Johnston 1999 - 2009 - * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet - * Distributed under the BSD License - * See http://pajhome.org.uk/crypt/md5 for more info. - */ -var hexcase=0;function hex_md5(a){return rstr2hex(rstr_md5(str2rstr_utf8(a)))}function hex_hmac_md5(a,b){return rstr2hex(rstr_hmac_md5(str2rstr_utf8(a),str2rstr_utf8(b)))}function md5_vm_test(){return hex_md5("abc").toLowerCase()=="900150983cd24fb0d6963f7d28e17f72"}function rstr_md5(a){return binl2rstr(binl_md5(rstr2binl(a),a.length*8))}function rstr_hmac_md5(c,f){var e=rstr2binl(c);if(e.length>16){e=binl_md5(e,c.length*8)}var a=Array(16),d=Array(16);for(var b=0;b<16;b++){a[b]=e[b]^909522486;d[b]=e[b]^1549556828}var g=binl_md5(a.concat(rstr2binl(f)),512+f.length*8);return binl2rstr(binl_md5(d.concat(g),512+128))}function rstr2hex(c){try{hexcase}catch(g){hexcase=0}var f=hexcase?"0123456789ABCDEF":"0123456789abcdef";var b="";var a;for(var d=0;d>>4)&15)+f.charAt(a&15)}return b}function str2rstr_utf8(c){var b="";var d=-1;var a,e;while(++d>>6)&31),128|(a&63))}else{if(a<=65535){b+=String.fromCharCode(224|((a>>>12)&15),128|((a>>>6)&63),128|(a&63))}else{if(a<=2097151){b+=String.fromCharCode(240|((a>>>18)&7),128|((a>>>12)&63),128|((a>>>6)&63),128|(a&63))}}}}}return b}function rstr2binl(b){var a=Array(b.length>>2);for(var c=0;c>5]|=(b.charCodeAt(c/8)&255)<<(c%32)}return a}function binl2rstr(b){var a="";for(var c=0;c>5]>>>(c%32))&255)}return a}function binl_md5(p,k){p[k>>5]|=128<<((k)%32);p[(((k+64)>>>9)<<4)+14]=k;var o=1732584193;var n=-271733879;var m=-1732584194;var l=271733878;for(var g=0;g>16)+(d>>16)+(c>>16);return(b<<16)|(c&65535)}function bit_rol(a,b){return(a<>>(32-b))}; diff --git a/f_config/config.php b/f_config/config.php index 78dbd4eb..47940f91 100644 --- a/f_config/config.php +++ b/f_config/config.php @@ -3,7 +3,7 @@ namespace sammo; ob_start(); require(__dir__.'/../vendor/autoload.php'); -require_once(__dir__.'/../f_func/func.php'); +require_once(__dir__.'/func.php'); diff --git a/f_func/func.php b/f_config/func.php similarity index 100% rename from f_func/func.php rename to f_config/func.php diff --git a/f_func/_common.php b/f_func/_common.php deleted file mode 100644 index 3b772d94..00000000 --- a/f_func/_common.php +++ /dev/null @@ -1,10 +0,0 @@ - - + diff --git a/i_entrance/entrance.php b/i_entrance/entrance.php index 1ae70faa..179a8cf3 100644 --- a/i_entrance/entrance.php +++ b/i_entrance/entrance.php @@ -28,7 +28,7 @@ $userGrade = $session->userGrade; - + diff --git a/i_entrance/user_info.html b/i_entrance/user_info.html index e7cf3b34..aaf0d51c 100644 --- a/i_entrance/user_info.html +++ b/i_entrance/user_info.html @@ -16,7 +16,7 @@ - + diff --git a/f_func/func.js b/js/func.js similarity index 100% rename from f_func/func.js rename to js/func.js