from scapy.all import *

sum = 0
with open("testcase1.txt") as f:
    while (True):
        char = f.read(1)
        if not char:
            break
        sum = sum + ord(char) + 2
sum += 1
print(sum)
f.close()

0655bce571f5b7063ab84ace1d657c83f1c4c985
<mask token>

<mask token>
with open('testcase1.txt') as f:
    while True:
        char = f.read(1)
        if not char:
            break
        sum = sum + ord(char) + 2
sum += 1
print(sum)
f.close()

<mask token>
sum = 0
with open('testcase1.txt') as f:
    while True:
        char = f.read(1)
        if not char:
            break
        sum = sum + ord(char) + 2
sum += 1
print(sum)
f.close()

from scapy.all import *
sum = 0
with open('testcase1.txt') as f:
    while True:
        char = f.read(1)
        if not char:
            break
        sum = sum + ord(char) + 2
sum += 1
print(sum)
f.close()

from scapy.all import *

sum = 0
with open("testcase1.txt") as f:
    while (True):
        char = f.read(1)
        if not char:
            break
        sum = sum + ord(char) + 2
sum += 1
print(sum)
f.close()
