enable to customize encryption and decryption algorimth