diff --git a/utils/utils.py b/utils/utils.py new file mode 100644 index 0000000..c53786f --- /dev/null +++ b/utils/utils.py @@ -0,0 +1,5 @@ +# utils/utils.py +import hashlib + +def hash_data(data): + return hashlib.sha256(data.encode()).hexdigest()