refactor: move encrypt() function to helpers
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import hashlib
|
||||
|
||||
|
||||
def encrypt(string: str):
|
||||
return hashlib.sha256(string.encode()).hexdigest()
|
||||
Reference in New Issue
Block a user