PHP 8.2.30
Preview: PasswordEncoderInterface.php Size: 1.02 KB
//opt/cloudlinux/alt-php54/root/usr/share/pear/Symfony/Component/Security/Core/Encoder/PasswordEncoderInterface.php

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Security\Core\Encoder;

/**
 * PasswordEncoderInterface is the interface for all encoders.
 *
 * @author Fabien Potencier <fabien@symfony.com>
 */
interface PasswordEncoderInterface
{
    /**
     * Encodes the raw password.
     *
     * @param string $raw  The password to encode
     * @param string $salt The salt
     *
     * @return string The encoded password
     */
    public function encodePassword($raw, $salt);

    /**
     * Checks a raw password against an encoded password.
     *
     * @param string $encoded An encoded password
     * @param string $raw     A raw password
     * @param string $salt    The salt
     *
     * @return Boolean true if the password is valid, false otherwise
     */
    public function isPasswordValid($encoded, $raw, $salt);
}

Directory Contents

Dirs: 0 × Files: 8

Name Size Perms Modified Actions
2.73 KB lrw-r--r-- 2019-12-18 11:22:57
Edit Download
2.47 KB lrw-r--r-- 2019-12-18 11:22:57
Edit Download
1.93 KB lrw-r--r-- 2019-12-18 11:22:57
Edit Download
881 B lrw-r--r-- 2019-12-18 11:22:57
Edit Download
2.13 KB lrw-r--r-- 2019-12-18 11:22:57
Edit Download
1.02 KB lrw-r--r-- 2019-12-18 11:22:57
Edit Download
3.37 KB lrw-r--r-- 2019-12-18 11:22:57
Edit Download
1.51 KB lrw-r--r-- 2019-12-18 11:22:57
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).