Example #1
0
    def decode(cls, decodable_string):
        key = config['gearman_key']

        padded_key = key.ljust(32, '\0')
        rij = Rijndael(padded_key)

        return rij.decrypt(b64decode(decodable_string))