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 : *");