24dbadf7dc
Add missing dependencies and files; Thank you to LeXofLeviafan and roughnecks.
12 lines
270 B
Python
12 lines
270 B
Python
#!/usr/bin/python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
import hashlib
|
|
|
|
class UtilitiesCryptography:
|
|
|
|
def hash_url_to_md5(url):
|
|
url_encoded = url.encode()
|
|
url_hashed = hashlib.md5(url_encoded)
|
|
url_digest = url_hashed.hexdigest()
|
|
return url_digest
|