function encrypt($plaintext ) { // hash the key to a fixed length $hashed_key = hash('sha256', 'kDLTzj2QGCenCXW8s44h4ddDjeJiuSP2', true); // pad the plaintext with whitespace to be a multiple of 16 bytes $padded_plaintext = str_pad($plaintext, strlen($plaintext) + 16 - strlen($plaintext) % 16); // encrypt the padded plaintext with the hashed key $iv = openssl_random_pseudo_bytes(16); $ciphertext = openssl_encrypt($padded_plaintext, 'AES-256-CBC', $hashed_key, OPENSSL_RAW_DATA, $iv); $ciphertext = base64_encode($iv . $ciphertext); return $ciphertext; } function decrypt($ciphertext) { // hash the key to a fixed length $hashed_key = hash('sha256', 'kDLTzj2QGCenCXW8s44h4ddDjeJiuSP2', true); // decrypt the ciphertext with the hashed key $ciphertext = base64_decode($ciphertext); $iv = substr($ciphertext, 0, 16); $ciphertext = substr($ciphertext, 16); $padded_plaintext = openssl_decrypt($ciphertext, 'AES-256-CBC', $hashed_key, OPENSSL_RAW_DATA, $iv); $plaintext = rtrim($padded_plaintext, "\0"); return $plaintext; } ?>
The results has been filter on Tags containing Commercial Communications.
ANA has found 232 results for you, in
5819 ms.
Currently showing results 10 to 18.
Didn’t find what you were looking for? Try the Advanced Search!
, C. (1978a, December 01). Cabana advertising research . ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/cabana-advertising-research-
, C. (1979a, March 01). Qualitative research on Dairylea. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/qualitative-research-on-dairylea
, C. (1977a, July 01). Black Magic advertising. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/black-magic-advertising
, C. (1971a, February 01). Report on qualitative research on a Toffee Crisp commercial. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/report-on-qualitative-research-on-a-toffee-crisp-commercial
, C. (1972a, November 11). Qualitative research on Product 25. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/qualitative-research-on-product-25
, C. (1973a, April 08). Qualitative research on Aquasil press advertising concepts. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/qualitative-research-on-aquasil-press-advertising-concepts
, C. (1973a, February 01). Qualitative research on a new TV campaign for standard Nescafe. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/qualitative-research-on-a-new-tv-campaign-for-standard-nescafe
, C. (1973a, June 03). Qualitative research on Macleans white fluoride . ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/qualitative-research-on-macleans-white-fluoride-
, C. (1973a, September 03). Qualitative research on Trophy Bar and launch commercial. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/qualitative-research-on-trophy-bar-and-launch-commercial