title: How to properly insert encrypted data into database and retrieve from it?
body: <p>My development environment:
  C/C++,CentsOS,Openssl,sqlite3.</p>
  
  <p>I am encrypting data using openssl EVP interface(AES 128 bit). The encrypted data may contain null. How can i properly insert it into sqlite3 DB and retrieve back from DB to decrypt?</p>
  
  <p>Thanks.  </p>