login about faq

Hello Everybody! I use Delphi 10. My MySQL server use UTF-8 codepage, I try execute AES_ENCRYPT function and CkCrypt2mySqlAesEncrypt, but I get various results, because the CkCrypt2mySqlAesEncrypt function uses the ANSI encoding. When decrypting CkCrypt2mySqlAesDecrypt, I get only the question marks. How to implement AES-128-CBC crypt like MySQL AES_ENCRYPT with UTF-8 encoding? I could use CkCrypt2encryptStringENC, but I dont know which IV parameter uses AES_ENCRYPT.

asked Jul 20 '17 at 03:25

Stranger484's gravatar image


edited Jul 20 '17 at 03:32

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jul 20 '17 at 03:25

Seen: 573 times

Last updated: Jul 20 '17 at 03:32

powered by OSQA