D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
local
/
psa
/
admin
/
plib
/
modules
/
grafana
/
vendor
/
defuse
/
php-encryption
/
src
/
Filename :
DerivedKeys.php
back
Copy
<?php namespace PleskGrafana\Defuse\Crypto; /** * Class DerivedKeys * @package Defuse\Crypto */ final class DerivedKeys { /** * @var string */ private $akey = ''; /** * @var string */ private $ekey = ''; /** * Returns the authentication key. * @return string */ public function getAuthenticationKey() { return $this->akey; } /** * Returns the encryption key. * @return string */ public function getEncryptionKey() { return $this->ekey; } /** * Constructor for DerivedKeys. * * @param string $akey * @param string $ekey */ public function __construct($akey, $ekey) { $this->akey = $akey; $this->ekey = $ekey; } }