blessing-skin-server/app/Services/Cipher/EncryptInterface.php
2017-01-08 10:48:46 +08:00

16 lines
264 B
PHP

<?php
namespace App\Services\Cipher;
interface EncryptInterface
{
/**
* Encrypt given string w/ or w/o salt
*
* @param string $value
* @param string $salt
* @return string
*/
public function encrypt($value, $salt = "");
}