This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// From: https://gist.github.com/lotfio/cfbf857bc96a0487b53ed4877658a97b | |
// Fork: https://gist.github.com/anytizer/44bdc76947b302f22c5c1b67a83d2627 | |
/** | |
* Minor Improvements: | |
* Sqlite => DatabaseManager. | |
* One lined insert statements. | |
* Embedded SQLite3 source code from amalgamation. | |
* Access pointer with "this". | |
* OS/compiler specific full path to the database name. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Crypt { | |
private $key; | |
function __construct($key){ | |
$this->setKey($key); | |
} |