do some changes to support other speedport router
[GitHub/Stricted/speedport-hybrid-php-api.git] / lib / trait / CryptLib.class.php
index ce32bb75f62482ef9972cdd312477cbc3ed53644..71778b4495bc6bbf8cbc32c39e4a403b01c7b9ba 100644 (file)
@@ -5,20 +5,6 @@
  * @copyright   2015 Jan Altensen (Stricted)
  */
 trait CryptLib {
-       /**
-        * sends the encrypted request to router
-        * 
-        * @param       string  $path
-        * @param       mixed   $fields
-        * @param       string  $cookie
-        * @return      array
-        */
-       private function sentEncryptedRequest ($path, $fields, $cookie = false) {
-               $count = count($fields);
-               $fields = $this->encrypt(http_build_query($fields));
-               return $this->sentRequest($path, $fields, $cookie, $count);
-       }
-       
        /**
         * decrypt data from router
         *