ZenMagick 0.9.10


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

Class ZMSha1Authentication

ZMSha1Authentication
All Implemented Interfaces:
org.zenmagick.core.services.authentication\ZMAuthentication

public class ZMSha1Authentication

Sha1 authentication provider.

Author:
DerManoMann

Constant Summary
final static 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}

Constant Detail

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

SALT_LENGTH

public final static 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 38

encryptPassword

public void encryptPassword(mixed plaintext, mixed salt)


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

validatePassword

public void validatePassword(mixed plaintext, mixed encrypted)


ZenMagick 0.9.10