postgresql des encrypt
问题 I have oracle database to move on to new postgresql server. Some tables are having field sesitive and those are all encryted through DBMS_OBFUSCATION_TOOLKIT.DESENCRYPT/DESDECRYPT. The problem is here. The size of postgresql's encrypted data size(bytea type) should be the same with oracle's. I tried to get it done with aes(encrypt/decrypt) which takes almost three times larger than raw data.(oracle takes 16byte with des algorithm, postgresql takes 33byte with aes and the raw data is of 13byte