ZenMagick 0.9.8


org.zenmagick.core.services.authentication.provider.ZMSha1Authentication
\core\services\authentication\provider\ZMSha1Authentication.php at line 31

Class ZMSha1Authentication

ZMSha1Authentication
All Implemented Interfaces:
ZMAuthentication

public class ZMSha1Authentication

Sha1 authentication provider.

Author:
DerManoMann
Version:
$Id: ZMSha1Authentication.php 2610 2009-11-20 02:45:25Z dermanomann $

Field Summary
final int

SALT_LENGTH

Number of characters taken from the given salt to encrypt the password.

Method Summary
void

encryptPassword(mixed plaintext, mixed salt)

{@inheritDoc}

void

validatePassword(mixed plaintext, mixed encrypted)

{@inheritDoc}

Field Detail

\core\services\authentication\provider\ZMSha1Authentication.php at line 33

SALT_LENGTH

public final int SALT_LENGTH = 9

Number of characters taken from the given salt to encrypt the password.


Method Detail

\core\services\authentication\provider\ZMSha1Authentication.php at line 39

encryptPassword

public void encryptPassword(mixed plaintext, mixed salt)


\core\services\authentication\provider\ZMSha1Authentication.php at line 53

validatePassword

public void validatePassword(mixed plaintext, mixed encrypted)


ZenMagick 0.9.8