. */ /** * Hashes and verifies a password. * * * echo Txp::get('\Textpattern\Password\Hash')->hash('password'); * * * @since 4.6.0 * @package Password */ namespace Textpattern\Password; class Hash extends \Textpattern\Adaptable\Providable { /** * {@inheritdoc} */ public function getDefaultAdapter() { return new \Textpattern\Password\Adapter\PasswordHash(); } }