3cf19d8656
This pull request applies code style fixes from an analysis carried out by [StyleCI](https://github.styleci.io). --- For more information, click [here](https://github.styleci.io/analyses/8wKwbZ).
15 lines
212 B
PHP
15 lines
212 B
PHP
<?php
|
|
|
|
namespace App\Services\Cipher;
|
|
|
|
class SHA512 extends BaseCipher
|
|
{
|
|
/**
|
|
* Once SHA512 hash.
|
|
*/
|
|
public function hash($value, $salt = '')
|
|
{
|
|
return hash('sha512', $value);
|
|
}
|
|
}
|