Hello,
I’m a newbie to sqlcipher, using the latest version (based on OpenSSL). I have a question: the default cipher is AES-256-CBC. After a preliminary review of the code, I found that SQLCipher is very well designed. I located the line #define OPENSSL_CIPHER EVP_aes_256_cbc()
and tried changing it to EVP_aes_128_cbc
or EVP_sm4_cbc
(both are 128-bit key ciphers, a necessary modification for certain hardware environments). The compilation was successful, and it seems to work correctly. I know this modification is not recommended, what are the potential hidden dangers of using it this way?
Thanks!