This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Implementation of RSA cryptography | |
using samples of large numbers | |
""" | |
import random | |
import sys | |
import math | |
from random import randrange |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
from redis import ConnectionPool, Redis | |
import numpy as np | |
import json, time | |
from multithreading import Thread, Event | |
redis_config = {"server": "localhost", | |
"passwd": '', | |
"port": '6379', | |
"db": 0} |