"""malwareDB = { 'EICAR TEST': ['44d88612',68],
              'Malware1': ['56003fsef', 31],
              'Malware2': ['50sdffslji8', 34]
            }

print(malwareDB.items())
print(dict(malwareDB.items()))

for key, value in malwareDB.items():
	print(key, value[0])"""
"""
import hashlib
import sys
import os

f = open("eicar.txt", 'rb')
data = f.read()
f.close()

print("MD5 : ", hashlib.md5(data).hexdigest())
print("SHA-1 : ", hashlib.sha1(data).hexdigest())
print("SHA-256 : ", hashlib.sha256(data).hexdigest())
print("File size : ", os.path.getsize("eicar.txt"))"""

mytext = "python"

f = open("mytext_utf8.txt", "wb")
f.write(mytext.encode("utf-8"))
f.close()

f = open("mytext_utf16.txt","wb")
f.write(mytext.encode("utf-16"))
f.close()