TYPO3 CMS
TYPO3_6-2
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Files
File List
+
File Members
+
All
$
(
_
a
c
d
e
f
h
i
l
o
p
r
s
t
u
x
+
Functions
_
a
c
d
e
f
i
l
o
p
r
s
u
x
+
Variables
$
(
_
a
d
e
h
i
p
r
s
t
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
adodb-encrypt-secret.php
Go to the documentation of this file.
1
<?php
2
3
/*
4
V5.19 23-Apr-2014 (c) 2000-2014 John Lim (jlim#natsoft.com). All rights reserved.
5
Contributed by Ross Smith (adodb@netebb.com).
6
Released under both BSD license and Lesser GPL library license.
7
Whenever there is any discrepancy between the two licenses,
8
the BSD license will take precedence.
9
Set tabs to 4 for best viewing.
10
11
*/
12
13
@define(
'HORDE_BASE'
, dirname(dirname(dirname(__FILE__))) .
'/horde'
);
14
15
if
(!is_dir(
HORDE_BASE
)) {
16
trigger_error(sprintf(
'Directory not found: \'%s\''
,
HORDE_BASE
),
E_USER_ERROR
);
17
return
0;
18
}
19
20
include_once
HORDE_BASE
.
'/lib/Horde.php'
;
21
include_once
HORDE_BASE
.
'/lib/Secret.php'
;
22
31
class
ADODB_Encrypt_Secret
{
34
function
write
($data, $key) {
35
return
Secret::write($key, $data);
36
}
37
40
function
read
($data, $key) {
41
return
Secret::read($key, $data);
42
}
43
44
}
45
46
return
1;
E_USER_ERROR
if(!defined('ADODB_ERROR_HANDLER_TYPE')) define('ADODB_ERROR_HANDLER_TYPE' E_USER_ERROR
Definition:
adodb-errorhandler.inc.php:16
ADODB_Encrypt_Secret\read
read($data, $key)
Definition:
adodb-encrypt-secret.php:40
ADODB_Encrypt_Secret\write
write($data, $key)
Definition:
adodb-encrypt-secret.php:34
ADODB_Encrypt_Secret
Definition:
adodb-encrypt-secret.php:31
HORDE_BASE
const HORDE_BASE
Definition:
adodb-encrypt-secret.php:13
typo3
sysext
adodb
adodb
session
adodb-encrypt-secret.php
Generated on Wed Aug 7 2019 09:52:18 for TYPO3 CMS by
1.8.13