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 Comparative Research.
ANA has found 325 results for you, in
4200 ms.
Currently showing results 19 to 27.
Didn’t find what you were looking for? Try the Advanced Search!
Grunert, K. G. (1987a, October 26). Estimating cognitive structure from qualitative data. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/estimating-cognitive-structure-from-qualitative-data
Tigert and Arnold (1989a, September 01). A comparative analysis of alternative segmentation methodologies. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/a-comparative-analysis-of-alternative-segmentation-methodologies
Brown, Mercieca and Parrish (1991a, June 15). Research for broadcasting decisions. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/research-for-broadcasting-decisions
Crosby, L. A. (1992a, September 01). Toward a common verbal scale of perceived quality. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/toward-a-common-verbal-scale-of-perceived-quality
Wilson, A. D. (1967a, June 15). Research among travel agents. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/research-among-travel-agents
Rizkallah, F. (1994a, January 01). Bringing the TV meters to the Gulf. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/bringing-the-tv-meters-to-the-gulf
Chavenon and Dupont (1994a, June 15). FRY. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/fry
Wu and Valsler (2014a, May 13). Newsflash: reaching Asia's high income earners. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/newsflash-reaching-asia-s-high-income-earners-8141
Just, V. (1971a, May 03). Comments on the paper by Mr. Wren and Mr. Taylor. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/comments-on-the-paper-by-mr-wren-and-mr-taylor