Show More
@@ -25,7 +25,7 b' def b85encode(text, pad=False):' | |||||
25 | longs = len(text) >> 2 |
|
25 | longs = len(text) >> 2 | |
26 | words = struct.unpack('>%dL' % (longs), text) |
|
26 | words = struct.unpack('>%dL' % (longs), text) | |
27 |
|
27 | |||
28 |
out = ''.join(_b85chars[(word / 52200625) % 85] + |
|
28 | out = ''.join(_b85chars[(word / 52200625) % 85] + | |
29 | _b85chars2[(word / 7225) % 7225] + |
|
29 | _b85chars2[(word / 7225) % 7225] + | |
30 | _b85chars2[word % 7225] |
|
30 | _b85chars2[word % 7225] | |
31 | for word in words) |
|
31 | for word in words) |
General Comments 0
You need to be logged in to leave comments.
Login now