Location: PHPKode > projects > Openmailadmin > openmailadmin-1.0.1/inc/lib/PasswordSHA1.php
<?php
class PasswordSHA1
	implements IPasswordStrategy
{
	public function cipher($plaintext) {
		return sha1($plaintext);
	}
	public function equals($hashed, $plaintext) {
		return $hashed == sha1($plaintext);
	}

}
?>
Return current item: Openmailadmin