src/Ease/User.php
public function passwordValidation($plainPassword, $encryptedPassword)
    {
        if ($plainPassword && $encryptedPassword) {
            $passwordStack = explode(':', $encryptedPassword);
            if (sizeof($passwordStack) != 2) {
                return false;
            }
            if (md5($passwordStack[1].$plainPassword) == $passwordStack[0]) {
                return true;
            }
        }

        return false;
    }
public function passwordValidation($plainPassword, $encryptedPassword)
    {
        if ($plainPassword && $encryptedPassword) {
            $passwordStack = explode(':', $encryptedPassword);
            if (sizeof($passwordStack) != 2) {
                return false;
            }
            if (md5($passwordStack[1].$plainPassword) == $passwordStack[0]) {
                return true;
            }
        }

        return false;
    }
Ověření hesla.

@param string $plainPassword     heslo v nešifrované podobě
@param string $encryptedPassword šifrovné heslo

@return bool