Support encrypt and decrypt for server DB