Professional Documents
Culture Documents
ZendC%uthentication
ZendCCa0tcha
ZendCCry0t
ZendCEsca0er
ZendCFilter
ZendC/n0utFilter
ZendC-ermissions
ZendC;ath
ZendCDalidator
All rights reserved. Zend Technologies, Inc.
Zend"Autentication
All rights reserved. Zend Technologies, Inc.
%uthentication
%da0tersE
=atabase Table
=igest
.TT-
L=%-
Four ada0ter
All rights reserved. Zend Technologies, Inc.
E&am0le
All rights reserved. Zend Technologies, Inc.
Zend"#ermissions
All rights reserved. Zend Technologies, Inc.
ZendC-ermissionsC%cl
TerminologyE
TerminologyE
%lnum
%l0ha
AaseKame
Aoolean
Callback
Com0ress)=ecom0ress
=igits
=ir
Encry0t)=ecry0t
.tmlEntities
/nt
Kull
KumberFormat
-reg1e0lace
1eal-ath
tringToLower)To200er
tringTrim
tri0KewLines)Tags
All rights reserved. Zend Technologies, Inc.
Zend"%alidator
All rights reserved. Zend Technologies, Inc.
ZendCDalidator
%lnum
%l0ha
Aarcode
Aetween
Callback
CreditCard
=ate
=igits
Email%ddress
4reaterThan)LessThan
.e&
.ostname
/ban
/dentical
/n%rray
/0
/sbn
KotEm0ty
-ostCode
1ege&
itema0
te0
tringLength
All rights reserved. Zend Technologies, Inc.
Zend"InputFilter
All rights reserved. Zend Technologies, Inc.
ZendC/n0utFilter
esca0e.tml()
esca0e.tml%ttr()
esca0e+s()
esca0e2rl()
Esca0eCss()
ZendCCa0tchaC%bstract6ord
ZendCCa0tchaC=umb
ZendCCa0tchaCFiglet
ZendCCa0tchaC/mage
ZendCCa0tchaC1eCa0tcha
All rights reserved. Zend Technologies, Inc.
Zend"&r$pt
All rights reserved. Zend Technologies, Inc.
Cry0togra0hy is hard
cry0t()
;cry0t
50enL
Zend"&r$pt com0onentsE
Zend"&r$pt"#assword
Zend"&r$pt"'e$"(eri)ation
Zend"&r$pt"*$mmetic
Zend"&r$pt"#ublic'e$
Zend"&r$pt"+as
Zend"&r$pt"+mac
Zend"&r$pt"Bloc,&iper
All rights reserved. Zend Technologies, Inc.
+ow to encr$pt
sensiti)e data
All rights reserved. Zend Technologies, Inc.
Encry0t and %uthenticate
im0li!ied %-/E
set'e$.1,e$0
encr$pt.1data0
decr$pt.1data0
;=>).%"(0assword)
;=>).%"(0assword . salt)
where salt is a random string
bcr$pt
All rights reserved. Zend Technologies, Inc.
6hy ;=>).%" Ssalt is not secureR
6itepi2el pro7ect
white0i&el.zorina?.com
< =ual .= >#@B( ~ L8'BB
Algorithm Speed 8 chars 9 chars 10 chars
md5($pass) 33 billion p/s 1 hour 4 days 294 days
All rights reserved. Zend Technologies, Inc.
bcry0t
Bcr$pt99)eri3$.1password, 1as0
where 1password is the ,alue to check and 1as is
the hash ,alue generated by bcry0t
rand()
mtMrand()
o0ensslMrandomM0seudoMbytes()
All rights reserved. Zend Technologies, Inc.
rand() is not so random E(
rand() o! -.- on 6indows -seudo3random bits
ourceE random.org
All rights reserved. Zend Technologies, Inc.
1andom Kumber 4enerator in ZF8
/ore in3ormation
ttp9@@3ramewor,ABendAcom
DB3tal,, DB3tal,Ade)