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

15 lines
223 B
PHP

<?php
namespace App\Services\Cipher;
class SHA512 implements EncryptInterface
{
/**
* Once SHA512 hash
*/
public function encrypt($value, $salt = "")
{
return hash('sha512', $value);
}
}