CoreFiles by mySites.guru
DerivedKeys.php50 lines, 779 bytes, from Joomla_4.4.14-Stable-Full_Package.zip
Raw History Compare with 4.4.13
md5
decfb5756599f70599c15e967b50eab0
sha1
ec0df85f3de1ecb6f7e4300b1bdcb1a3585c59cf
sha256
4407b2eff0350e1bf77412a7e7a7f5a7af88d373199195e3eca46fec35181386
<?php

namespace 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;
    }
}

The same content is in 296 releases, Joomla 4.0.0-alpha2 to 6.2.1-rc1. See them all, or every version of this file.