You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
613 B
PHP

<?php
namespace Defuse\Crypto;
final class DerivedKeys
{
private $akey = null;
private $ekey = null;
/**
* Returns the authentication key.
*/
public function getAuthenticationKey()
{
return $this->akey;
}
/**
* Returns the encryption key.
*/
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;
}
}