Cosin similarity of two encrypted images would be useless, unencrypt them, a bit more useful.
The 'strings are not the territory' in other words, the territory is the semantic constructs cryptically encoded into those strings. You want the similarity of constructs, not strings.