Function __global->is_data_encrypted

Definitions

sources/encryption.php

  • Determine if some data has already been encrypted: i.e. if it has a magic encryption marker.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$data mixed No No required parameter N/A N/A Data to check

Returns

  • Encrypted?
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Determine if some data has already been encrypted: i.e. if it has a magic encryption marker.
 *
 * @param  mixed $data Data to check
 * @return boolean Encrypted?
 */

function is_data_encrypted($data) : bool