Skip to content

Commit

Permalink
Update encryption.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cardinal9999 authored Nov 7, 2021
1 parent fce8e12 commit d5b9d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cryptoquail/encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def decrypt_string(string, key):
if secrets.compare_digest(key, "") == True:
raise exceptions.EmptyKeyError("key must not be a null value")
str1 = list(string)
_int_ = foobar.text2number(key) % int(len(newstring) // 1.5)
_int_ = foobar.text2number(key) % int(len(string) // 1.5)
string = trans.dec("".join(str1), _int_)
int_ = foobar.text2number(key) % 30
keylist = []
Expand Down

0 comments on commit d5b9d5b

Please sign in to comment.