tahoe-lafs/allmydata/util/idlib.py
Rob Kinninmont 94e051c1f0 rerecord all the storageserver patches in one go
darcs was dying trying to deal with the conflict resolution patches.
      
this adds a (very rough) bucketstore and storageserver.
probably needs lots of work both in api and implementation.
2006-11-30 20:14:23 -07:00

8 lines
130 B
Python

from base64 import b32encode, b32decode
def b2a(i):
return b32encode(i).lower()
def a2b(i):
return b32decode(i.upper())