From 3593a10251d2993fa5b5a1ea1f1b859e11217053 Mon Sep 17 00:00:00 2001 From: dev-chiefworks Date: Wed, 13 Apr 2022 19:00:33 -0400 Subject: [PATCH] fix --- app/Controllers/Savvy.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app/Controllers/Savvy.php b/app/Controllers/Savvy.php index 33b71df..fd09edd 100644 --- a/app/Controllers/Savvy.php +++ b/app/Controllers/Savvy.php @@ -23,6 +23,19 @@ class Savvy extends BaseController } public function user(){ + + /*encryption: +{ + algorithm = "aes-256-ctr"; + key = "1234567890abcdef1234567890abcdef"; + iv = "1234567890abcdef"; +}; + + */ + $encryptionAlg = "aes-256-ctr"; // $savvyext->cfgReadChar('encryption.algorithm'); + $encryptionKey = "1234567890abcdef1234567890abcdef"; // $savvyext->cfgReadChar('encryption.key'); + $encryptionIV = iv = "1234567890abcdef"; // $savvyext->cfgReadChar('encryption.iv'); + log_message('critical', "API-WAS CALLED user" ); header("Access-Control-Allow-Origin: *"); //header("x-devicetoken : *");