[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

(no description)

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

Defines 5 functions

  createNewRandomKey()
  loadFromAsciiSafeString()
  saveToAsciiSafeString()
  getRawBytes()
  __construct()

Functions
Functions that are not part of a class:

createNewRandomKey()   X-Ref
Creates new random key.

return: Key

loadFromAsciiSafeString($saved_key_string, $do_not_trim = false)   X-Ref
Loads a Key from its encoded form.

By default, this function will call Encoding::trimTrailingWhitespace()
to remove trailing CR, LF, NUL, TAB, and SPACE characters, which are
commonly appended to files when working with text editors.

param: string $saved_key_string
param: bool $do_not_trim (default: false)
return: Key

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

return: string

getRawBytes()   X-Ref
Gets the raw bytes of the key.

return: string

__construct($bytes)   X-Ref
Constructs a new Key object from a string of raw bytes.

param: string $bytes



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