From 45606035318fd391fa71c257092bca869ec5500e Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 24 Sep 2018 02:47:34 +0900 Subject: [PATCH] Update security.php --- system/security.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/security.php b/system/security.php index 5bd2577..0265e26 100644 --- a/system/security.php +++ b/system/security.php @@ -446,7 +446,7 @@ if(!function_exists("encapsulate_text")) { } // initialize text - $init_text = base64_encode($text); + $init_text = get_hashed_text($text, "base64"); if($algo == "base64") { $encapsulated_text = $init_text; @@ -461,7 +461,7 @@ if(!function_exists("encapsulate_text")) { } if(!empty($encrypted_text)) { - $encapsulated_text = base64_encode($encrypted_text); + $encapsulated_text = get_hashed_text($encrypted_text, "base64"); } }