diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-09-25 13:39:07 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-09-25 13:39:07 +0000 |
commit | 7f21ad2b6a7cd0a75643c354efa2c5c8c7e52afb (patch) | |
tree | fbf57fe7c178bd9c978e4f8c06be4045b80b82fa /docs | |
parent | 70874d802a528a7031b2269503c44c18fe84f1bc (diff) |
Tubes proto-XEP: make it completely clear that we're not using sha1_hex() or equivalent
Diffstat (limited to 'docs')
-rw-r--r-- | docs/tubes.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/tubes.xml b/docs/tubes.xml index 83490013d..9ba9de509 100644 --- a/docs/tubes.xml +++ b/docs/tubes.xml @@ -473,7 +473,9 @@ <li>If <i>utf8nick</i> has 186 octets or fewer, encode it using Base64; otherwise encode a string consisting of the first 169 octets of <i>utf8nick</i>, followed by the 20 octets of the - SHA-1 of <i>utf8nick</i></li> + SHA-1 of <i>utf8nick</i> (note that this is the whole of the raw + binary SHA-1, and not the first half of the SHA-1 written in + hexadecimal).</li> <li>Remove all whitespace</li> <li>Replace "+" with "_", "/" with "-" and "=" with "A"</li> </ul> |