blessing-skin-server/app/Services/Cipher/EncryptInterface.php

16 lines
292 B
PHP
Raw Normal View History

2016-07-21 22:01:57 +08:00
<?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 = "");
}