This commit is contained in:
2026-02-17 14:56:23 +01:00
commit 68f7a95fdf
695 changed files with 154611 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?php
namespace DynCom\mysyde\common\interfaces;
/**
* Created by PhpStorm.
* User: bauer
* Date: 05.01.2016
* Time: 10:41
*/
interface HashingStrategy
{
/**
* @param $plaintext
* @return mixed
*/
public function getHash($plaintext);
/**
* @param $plaintext
* @param $hashed
* @return mixed
*/
public function checkHash($plaintext, $hashed);
/**
* @param $currentHash
* @return mixed
*/
public function needsRehash($currentHash);
}