Hello everybode,

Unicode characters are used in Complex Generation Example (Section 5.3 of XEP), 
but looks like they are ignored in resulting hash value.
I've tried to build the same string, coded it into utf-8 and to get SHA-1 hash 
for it and I got "XDu6S9Xwp17+ZL0Ug4CIuR36adI=", while hash in example is 
"q07IKJEyjvHSyhy//CH0CxmKi8w=". To determine the reason I've played with 
encodings and found that I receive the hash from example if verification string 
is encoded by "latin-1" codec, which is possible invalid behaviour (as original 
string contains non-latin symbols).

May be resulting hash should be fixed in example?

Ruslan

Reply via email to