Completed
Push — master ( a70ca1...835655 )
by Jafar
06:00
created

HS512   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getHashingAlgorithm() 0 3 1
1
<?php
2
/*
3
 * This file is part of the Guarded Authentication package.
4
 *
5
 * (c) Jafar Jabr <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace Jafar\Bundle\GuardedAuthenticationBundle\Api\JWTSigner\Signer\OpenSSL;
11
12
/**
13
 * Class HS512.
14
 *
15
 * @author Jafar Jabr <[email protected]>
16
 */
17
class HS512 extends HMAC
18
{
19
    public function getHashingAlgorithm()
20
    {
21
        return 'sha512';
22
    }
23
}
24