Am Mon, 20 Sep 2010 21:36:46 +1200
schrieb Lawrence D'Oliveiro <l...@geek-central.gen.new_zealand>:

> In message <20100920104546.3699e...@valun>, Gregor Horvath wrote:
> 
> > Is there a encoder / decoder in Python that can convert arbitrary
> > text to and from this encoding in an readable manner?
> 
> Not sure if this is already in Python, but 
> <http://en.wikipedia.org/wiki/Base32>.

Thanks for the suggestion.

Yes it is in Python: base64.b32encode

2 Problems: 

a) "=" is used as padding char
b) The special case of a base32 encoding with a leading digit is not
handled.
c) It's not readbale

But I can easly work around this. 
Thanks.

--
Greg


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to