Quantcast
Channel: Active questions tagged utf-8 - Stack Overflow
Viewing all articles
Browse latest Browse all 1214

AES Encryption and Decryption not giving proper result

$
0
0
SELECT AES_ENCRYPT('fmale', '2b7e151628aed2a6abf7158809cf4f3c') FROM tmp_categorywise_salary_rpt LIMIT 1; SELECT CAST(AES_DECRYPT('þ*Ë(|¸R°¢8Ç©', '2b7e151628aed2a6abf7158809cf4f3c') as UTF8) FROM tmp_categorywise_salary_rpt LIMIT 1;

AES_ENCRYPT is giving me encrypted value as þ*Ë(|¸R°¢8Ç© but using AES_DECRYPT is giving me null

Expectation : it should give me back non encrypted value as female


Viewing all articles
Browse latest Browse all 1214

Trending Articles