[Standards] XEP-0153: Encoding of photo hash?

Christian Schudt christian.schudt at gmx.de
Sat Feb 24 19:22:39 UTC 2018

Hi list,

I’ve got a question about XEP-0153. Its XML schema defines that the photo hash is encoded as Base64:

<xs:element name='photo' minOccurs='0' type='xs:base64Binary‘/>

However, I’ve seen the hash encoded as hexadecimal, too. It was no small client, but it was Facebook.
I don’t know how other clients behave.

So I wonder, what is the correct encoding of the photo hash value: base64 or hex-encoded?

Kind regards,
— Christian

More information about the Standards mailing list