temas765/password-hasher

There is no license information available for the latest version (v1.1.0) of this package.

Hesher for hashing password

v1.1.0 2024-02-17 01:29 UTC

This package is auto-updated.

Last update: 2024-09-17 02:51:09 UTC


README

Хэшер для хэширования паролей

Требования

  • PHP 8.0

Установка

composer require temas765/password-hasher

Использование

<?php

$passwordHasher = new PasswordHasher(new Md5Hasher());
echo "Password hash: {$passwordHasher->hashPassword('secret')}"; // Password hash: 5ebe2294ecd0e0f08eab7690d2a6ee69