Closed josephmturner closed 1 year ago
The encoding uses z32 https://github.com/mafintosh/z32
Not sure whether the last byte can be encoded differently.
According to Mathias, this behavior is expected "because each char is 5bits so you are changing bits that are ignored when decoding as it’s truncated". All good!
If my public key is
hyper://sw8dj5y9cs5nb8dzq1h9tbjt3b4u3sci6wfeckbsch9w3q7amipy/
, I am able to successfully send requests tohyper://sw8dj5y9cs5nb8dzq1h9tbjt3b4u3sci6wfeckbsch9w3q7amipb/
(the final charactery
replaced withb
) as if I had send those requests to my actual public key.Is this behavior expected?