I am not that good with Encryption algorithm but If I were you I will be EXTRA careful when editing the encryption component. Also remember you will have some existing data that you might want to recover first. And also you might end up weakening the algorithm. Have you heard of Transparent Encryption. Is it possible for you to use it with your current database?