Yes. The priest cannot give any identifiable information about a person from a particular confession. Priests take the seal of confession extremely seriously, because it is an extremely serious matter! Breaking the seal of confession is grounds for excommunication and being stripped of one’s duties as a priest for life.
As a side note, I have heard that priests often have a difficult time remembering what people confess to them, likely one of the graces of the sacrament. And they hear so many confessions, there’s almost no way they would remember who said what.
When talking about things they hear in the confessional, the most I have ever heard a priest say are things along the lines of, “People who struggle with anger and lust usually are dealing with an underlying problem, which just manifests itself in that way,” for example.
Thank you for your question!