mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
16 lines
292 B
PHP
16 lines
292 B
PHP
<?php
|
|
|
|
namespace App\Services\Cipher;
|
|
|
|
interface EncryptInterface
|
|
{
|
|
/**
|
|
* Encrypt given string w/ or w/o salt
|
|
*
|
|
* @param string $raw_passwd
|
|
* @param string $salt
|
|
* @return string ecrypted password
|
|
*/
|
|
public function encrypt($raw_passwd, $salt = "");
|
|
}
|