12 lines
165 B
PHP
12 lines
165 B
PHP
<?php
|
|
|
|
namespace App\Services\Cipher;
|
|
|
|
class MD5 extends BaseCipher
|
|
{
|
|
public function hash($value, $salt = ''): string
|
|
{
|
|
return md5($value);
|
|
}
|
|
}
|