<s> from sneakers . modules import Encoder <EOL> import base64 <EOL> class B64 ( Encoder ) : <EOL> description = """<STR_LIT>""" <EOL> def encode ( self , data ) : <EOL> params = self . params [ '<STR_LIT>' ] <EOL> return base64 . b64encode ( data ) <EOL> def decode ( self , data ) : <EOL> params = self . params [ '<STR_LIT>' ] <EOL> return base64 . urlsafe_b64decode ( str ( data ) ) </s>
