Download this file
13 lines (11 with data), 270 Bytes
1
2
3
4
5
6
7
8
9
10
11
12 | import os
try:
from hashlib import md5
except ImportError:
from md5 import md5
home_dir = os.path.dirname(__file__)
users = {"admin": "0fce9a780dcffb9a75c7e723cdd6b1b1"}
def encrypt_password(passwd):
m = md5()
m.update(passwd)
return m.hexdigest()
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.