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 Packaging / Design.
ANA has found 145 results for you, in
105 ms.
Currently showing results 1 to 9.
Didn’t find what you were looking for? Try the Advanced Search!
, C. (1972a, December 11). Qualitative research on new Golden Churn packaging. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/qualitative-research-on-new-golden-churn-packaging
, C. (1973a, January 22). Nescafé packaging research in Ireland for Nestle's Ltd.. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/nescaf-packaging-research-in-ireland-for-nestle-s-ltd-
, C. (1972a, April 28). Qualitative research on short-shelf-life cakes. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/qualitative-research-on-short-shelf-life-cakes
, C. (1973a, July 31). Whitebread Super Premium Pale Ale name and pack concept testing. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/whitebread-super-premium-pale-ale-name-and-pack-concept-testing
, C. (1973a, October 03). C37 name and advertising qualitative research. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/c37-name-and-advertising-qualitative-research
, C. (1974a, February 01). Project 039. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/project-039
, C. (1974a, May 03). Qualitative research on male Sure variant . ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/qualitative-research-on-male-sure-variant-
, C. (1975a, June 01). Sauce mixes . ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/sauce-mixes-
, C. (1975a, December 01). Qualitative research into 'laughter' fragrance. ANA - ESOMAR. Retrieved March 31, 2023, from
https://ana.esomar.org/documents/qualitative-research-into-laughter-fragrance