diff options
Diffstat (limited to 'trunk/adodb5/session/adodb-encrypt-sha1.php')
| -rw-r--r-- | trunk/adodb5/session/adodb-encrypt-sha1.php | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/trunk/adodb5/session/adodb-encrypt-sha1.php b/trunk/adodb5/session/adodb-encrypt-sha1.php deleted file mode 100644 index 5a214696..00000000 --- a/trunk/adodb5/session/adodb-encrypt-sha1.php +++ /dev/null @@ -1,32 +0,0 @@ -<?php -if (!defined('ADODB_SESSION')) die(); - -include_once ADODB_SESSION . '/crypt.inc.php'; - - -/** - - */ - -class ADODB_Encrypt_SHA1 { - - function write($data, $key) - { - $sha1crypt = new SHA1Crypt(); - return $sha1crypt->encrypt($data, $key); - - } - - - function read($data, $key) - { - $sha1crypt = new SHA1Crypt(); - return $sha1crypt->decrypt($data, $key); - - } -} - - - -return 1; -?>
\ No newline at end of file |
