Adds encryption.