Encryption implementet , sql statements replaced