Sept. 7, 2012
5:58 p.m.
On Fri, Sep 7, 2012 at 6:59 AM, Daniel Holth <dholth@gmail.com> wrote:
It's shorter, and it's used extensively in the digital signature format I'm using.
On Sep 7, 2012 6:58 AM, "Paul Moore" <p.f.moore@gmail.com> wrote:
On 6 September 2012 17:34, Daniel Holth <dholth@gmail.com> wrote:
Proposed edits to https://bitbucket.org/dholth/python-peps/changeset/9c26fa50
In wheel I use urlsafe_b64encode_nopad() which omits the trailing = characters, but although very easy to implement isn't included in the stdlib. In this spec I use the stdlib urlsafe_b64encode().
Why urlsafe_b64encode, rather than just hexdigest which is what is used for md5?
Paul.
On the other hand, why encode it at all? CSV supports shoving the raw bytes in there, no problem. ;-)