[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

(no description)

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

Defines 6 functions

  createRandomPasswordProtectedKey()
  loadFromAsciiSafeString()
  saveToAsciiSafeString()
  unlockKey()
  changePassword()
  __construct()

Functions
Functions that are not part of a class:

createRandomPasswordProtectedKey($password)   X-Ref
Creates a random key protected by the provided password.

param: string $password
return: KeyProtectedByPassword

loadFromAsciiSafeString($saved_key_string)   X-Ref
Loads a KeyProtectedByPassword from its encoded form.

param: string $saved_key_string
return: KeyProtectedByPassword

saveToAsciiSafeString()   X-Ref
Encodes the KeyProtectedByPassword into a string of printable ASCII
characters.

return: string

unlockKey($password)   X-Ref
Decrypts the protected key, returning an unprotected Key object that can
be used for encryption and decryption.

param: string $password
return: Key

changePassword($current_password, $new_password)   X-Ref
Changes the password.

param: string $current_password
param: string $new_password
return: KeyProtectedByPassword

__construct($encrypted_key)   X-Ref
Constructor for KeyProtectedByPassword.

param: string $encrypted_key



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