Function __global->decrypt_data_telemetry
Definitions
sources/telemetry.php
- Decrypt some data for telemetry using symmetric decryption and the software's private key.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $nonce_base64 | string | No | No | required parameter | N/A | N/A | The base64-encoded nonce |
| $encrypted_data_base64 | string | No | No | required parameter | N/A | N/A | The base64-encoded encrypted data |
| $encrypted_session_key_base64 | string | No | No | required parameter | N/A | N/A | The base64-encoded encrypted session key |
| $version | float | No | No | required parameter | N/A | N/A | The version of the software which encrypted the data |
Returns
- The decrypted data
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Decrypt some data for telemetry using symmetric decryption and the software's private key.
*
* @param string $nonce_base64 The base64-encoded nonce
* @param string $encrypted_data_base64 The base64-encoded encrypted data
* @param string $encrypted_session_key_base64 The base64-encoded encrypted session key
* @param float $version The version of the software which encrypted the data
* @return string The decrypted data
*/
function decrypt_data_telemetry(string $nonce_base64, string $encrypted_data_base64, string $encrypted_session_key_base64, float $version) : string
* Decrypt some data for telemetry using symmetric decryption and the software's private key.
*
* @param string $nonce_base64 The base64-encoded nonce
* @param string $encrypted_data_base64 The base64-encoded encrypted data
* @param string $encrypted_session_key_base64 The base64-encoded encrypted session key
* @param float $version The version of the software which encrypted the data
* @return string The decrypted data
*/
function decrypt_data_telemetry(string $nonce_base64, string $encrypted_data_base64, string $encrypted_session_key_base64, float $version) : string
