[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/defuse/php-encryption/src/ -> KeyOrPassword.php (summary)

(no description)

File Size: 149 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  createFromKey()
  createFromPassword()
  deriveKeys()
  __construct()

Functions
Functions that are not part of a class:

createFromKey(Key $key)   X-Ref
Initializes an instance of KeyOrPassword from a key.

param: Key $key
return: KeyOrPassword

createFromPassword($password)   X-Ref
Initializes an instance of KeyOrPassword from a password.

param: string $password
return: KeyOrPassword

deriveKeys($salt)   X-Ref
Derives authentication and encryption keys from the secret, using a slow
key derivation function if the secret is a password.

param: string $salt
return: DerivedKeys

__construct($secret_type, $secret)   X-Ref
Constructor for KeyOrPassword.

param: int   $secret_type
param: mixed $secret      (either a Key or a password string)



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