DSCTF
# picproblem # 题目 from PIL import Imagefrom Crypto.Util.number import *from numpy import array, zeros, uint8import gmpy2 as gpimport cv2from key import x,y,kn,hintimage = cv2.imread("flag.jpg")img_gray = cv2.cvtColor(image,cv2.COLOR_RGB2GRAY)imagearray = array(img_gray)h = len(imagearray)w...
more...