From 451f9c5631c5b75f4ad5657f8ddc5c2d938ba8e3 Mon Sep 17 00:00:00 2001 From: carmith Date: Tue, 28 May 2024 15:47:03 +0300 Subject: [PATCH] Adding requests dependencies --- pythonExample/pythonProj.py | 4 ++-- requirements.txt | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pythonExample/pythonProj.py b/pythonExample/pythonProj.py index 6051547..27e8489 100644 --- a/pythonExample/pythonProj.py +++ b/pythonExample/pythonProj.py @@ -12,8 +12,8 @@ def printme( str ): def arc4_encrypt_password(key, password): cipher = ARC4.new(key.encode('utf-8')) - encrypted_password = cipher.encrypt(password.encode('utf-8')) - return hashlib.md5(encrypted_password).hexdigest() + encrypted_passcode = cipher.encrypt(password.encode('utf-8')) + return hashlib.md5(encrypted_passcode).hexdigest() # Now you can call printme function printme("Hello from JFROG"); diff --git a/requirements.txt b/requirements.txt index 411c6bd..4b2e0f8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ PyYAML>3.11 nltk -redis == 4.6.0 \ No newline at end of file +redis == 4.6.0 +requests >=2.31.0 \ No newline at end of file