pssht
latest
SSH server library written in PHP
Main Page
Classes
Files
File List
NISTp256.php
1
<?php
2
3
/*
4
* This file is part of pssht.
5
*
6
* (c) François Poirotte <clicky@erebot.net>
7
*
8
* For the full copyright and license information, please view the LICENSE
9
* file that was distributed with this source code.
10
*/
11
12
namespace
fpoirotte\Pssht\KEX\ECDH
;
13
18
class
NISTp256
extends
\fpoirotte\Pssht\KEX\ECDH\Base
19
{
20
public
static
function
getHashName()
21
{
22
return
'sha256'
;
23
}
24
25
public
static
function
getName
()
26
{
27
return
'ecdh-sha2-nistp256'
;
28
}
29
}
fpoirotte\Pssht\KEX\ECDH
Definition:
Base.php:12
fpoirotte\Pssht\KEX\ECDH\Base
Definition:
Base.php:18
fpoirotte\Pssht\KEX\ECDH\NISTp256\getName
static getName()
Return the name of the algorithm.
Definition:
NISTp256.php:25
fpoirotte\Pssht\KEX\ECDH\NISTp256
Definition:
NISTp256.php:18
src
KEX
ECDH
NISTp256.php
Generated on Tue May 9 2017 12:09:56 for pssht by
1.8.11