encrypt the next element