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-sha1.php
Go to the documentation of this file.
1
<?php
2
if
(!defined(
'ADODB_SESSION'
))
die
();
3
4
include_once
ADODB_SESSION
.
'/crypt.inc.php'
;
5
6
11
class
ADODB_Encrypt_SHA1
{
12
13
function
write
($data, $key)
14
{
15
$sha1crypt =
new
SHA1Crypt
();
16
return
$sha1crypt->encrypt($data, $key);
17
18
}
19
20
21
function
read
($data, $key)
22
{
23
$sha1crypt =
new
SHA1Crypt
();
24
return
$sha1crypt->decrypt($data, $key);
25
26
}
27
}
28
29
30
31
return
1;
ADODB_SESSION
const ADODB_SESSION
Definition:
adodb-session.php:34
ADODB_Encrypt_SHA1\write
write($data, $key)
Definition:
adodb-encrypt-sha1.php:13
die
die
Definition:
index.php:6
ADODB_Encrypt_SHA1\read
read($data, $key)
Definition:
adodb-encrypt-sha1.php:21
SHA1Crypt
Definition:
crypt.inc.php:66
ADODB_Encrypt_SHA1
Definition:
adodb-encrypt-sha1.php:11
typo3
sysext
adodb
adodb
session
adodb-encrypt-sha1.php
Generated on Wed Aug 7 2019 09:52:18 for TYPO3 CMS by
1.8.13