When using AES under windows, python needs to install pycryptodome module
pip install pycryptodome
When using AES under Linux, python needs to install pycrypto module
pip install pycrypto
When using AES under windows, python needs to install pycryptodome module
pip install pycryptodome
When using AES under Linux, python needs to install pycrypto module
pip install pycrypto
— coding: utf-8 —
# # Integer-coding:
+ 100 + 268 is a perfect square
# + coding: utf-8 —
#
from math import sqrt
def f(number):
for x in range(0,number):
m=sqrt(x+100)
n=sqrt(x+268)
if mint(m) and nint(n):
print x
If name = = “main” :
f (1000).
Running results:
21
261