TDoG-Skin/app/Services/Cipher/SHA256.php
2024-08-17 19:13:54 +08:00

12 lines
179 B
PHP
Executable File

<?php
namespace App\Services\Cipher;
class SHA256 extends BaseCipher
{
public function hash($value, $salt = ''): string
{
return hash('sha256', $value);
}
}