TDoG-Skin/app/Services/Cipher/SALTED2MD5.php

12 lines
183 B
PHP
Raw Permalink Normal View History

2024-08-17 18:43:48 +08:00
<?php
namespace App\Services\Cipher;
class SALTED2MD5 extends BaseCipher
{
public function hash($value, $salt = ''): string
{
return md5(md5($value).$salt);
}
}