[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/defuse/php-encryption/src/ -> DerivedKeys.php (source)

   1  <?php
   2  
   3  namespace Defuse\Crypto;
   4  
   5  /**
   6   * Class DerivedKeys
   7   * @package Defuse\Crypto
   8   */
   9  final class DerivedKeys
  10  {
  11      /**
  12       * @var string
  13       */
  14      private $akey = '';
  15  
  16      /**
  17       * @var string
  18       */
  19      private $ekey = '';
  20  
  21      /**
  22       * Returns the authentication key.
  23       * @return string
  24       */
  25      public function getAuthenticationKey()
  26      {
  27          return $this->akey;
  28      }
  29  
  30      /**
  31       * Returns the encryption key.
  32       * @return string
  33       */
  34      public function getEncryptionKey()
  35      {
  36          return $this->ekey;
  37      }
  38  
  39      /**
  40       * Constructor for DerivedKeys.
  41       *
  42       * @param string $akey
  43       * @param string $ekey
  44       */
  45      public function __construct($akey, $ekey)
  46      {
  47          $this->akey = $akey;
  48          $this->ekey = $ekey;
  49      }
  50  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer