Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

        def decrypt_str(text, pub_key, decode=base64.standard_b64decode):
    return decrypt(decode(text), pub_key)
        


src/c/r/cryptedserver-1.0.0/cryptedserver/server.py   cryptedserver(Download)
    def base_handler(req):
        req = pickle.loads(req)
        if req["encrypted"]:
            req["data"] = pickle.loads(crypto.decrypt_str(req["data"], pri))
 

src/c/r/cryptedserver-1.0.0/cryptedserver/client.py   cryptedserver(Download)
        }
 
        return pickle.loads(crypto.decrypt_str(client_request(self.address, pickle.dumps(req)), self.pri))
 
    def standart_request(self, data):