Implemented encryption.