Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Crypt / Password / PasswordInterface.php
blob392987936ba16f7a686204ca1be331c86ba6bef3
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 namespace Zend\Crypt\Password;
12 interface PasswordInterface
14 /**
15 * Create a password hash for a given plain text password
17 * @param string $password The password to hash
18 * @return string The formatted password hash
20 public function create($password);
22 /**
23 * Verify a password hash against a given plain text password
25 * @param string $password The password to hash
26 * @param string $hash The supplied hash to validate
27 * @return bool Does the password validate against the hash
29 public function verify($password, $hash);