Floor 4 - Computer Room
Santa Rosa de Lima English Secondary School
聖羅撒英文中學
Colégio de Santa Rosa de Lima - Secção Inglesa
2
while
loops
to generate all possible
3-digit numeric passwords from
"000"
to
"999"
.
1
b"001"
) and compute its
SHA-1 hash using
hashlib.sha1().hexdigest()
.
import hashlib
text = "001"
sha1_hash = hashlib.sha1(text.encode('utf-8')).hexdigest()
print(sha1_hash)
3
7a698699a9229b278afa72593214582d739b9bad
4
"425"
) and immediately stop all loops.
5
2
while
loops
to generate all possible
3-digit numeric passwords from
"000"
to
"999"
.
1
b"001"
) and compute its
SHA-1 hash using
hashlib.sha1().hexdigest()
.
import hashlib
text = "001"
sha1_hash = hashlib.sha1(text.encode('utf-8')).hexdigest()
print(sha1_hash)
3
7a698699a9229b278afa72593214582d739b9bad
4
"425"
) and immediately stop all loops.
5
a2 + b2 = c2
and
1 ≤ a, b, c ≤ 30
.
1
3, 4, 5
5, 12, 13
6, 8, 10
7, 24, 25
8, 15, 17
9, 12, 15
10, 24, 26
12, 16, 20
15, 20, 25
18, 24, 30
20, 21, 29
2
3
4
5
a2 + b2 = c2
and
1 ≤ a, b, c ≤ 30
.
1
3, 4, 5
5, 12, 13
6, 8, 10
7, 24, 25
8, 15, 17
9, 12, 15
10, 24, 26
12, 16, 20
15, 20, 25
18, 24, 30
20, 21, 29
2
3
4
5