Update security.php

This commit is contained in:
Namhyeon Go 2018-05-14 20:50:28 +09:00 committed by GitHub
parent cd0ce4808c
commit 6dddab0744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -504,6 +504,12 @@ if(!function_exists("decapsulate_text")) {
}
}
if(!function_exists("make_safe_argument")) {
function make_safe_argument($str) {
return addslashes($str);
}
}
// https://stackoverflow.com/questions/14673551/encrypt-decrypt-with-xor-in-php
if(!function_exists("xor_this")) {
function xor_this($key, $string, $debug=false) {