Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Signed-off-by: wfxey <158351052+wfxey@users.noreply.github.com>
  • Loading branch information
wfxey authored Jul 19, 2024
1 parent dbbfba8 commit 7091961
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion diec/encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ def encode(text):
random_number = random.randint(10**31, 10**32 - 1)
key_string += str(random_number)
key_string += "--"
text_binary = convert.ToBinary(text)
bit = 8
text_binary = convert.ToBinary(text, bit)
binary_list = []

for char in text_binary:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='diec',
version='1.7',
version='1.8',
packages=find_packages(),
license='MIT',
description='A tool that encodes text and provides a key for decoding!',
Expand All @@ -14,7 +14,7 @@
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/d-i-projects/diec',
download_url='https://github.com/D-I-Projects/diec/archive/refs/tags/v1.7.tar.gz',
download_url='https://github.com/D-I-Projects/diec/archive/refs/tags/v1.8.tar.gz',
keywords=['diec', 'encoding', 'decoding'],
install_requires=[
'binaryconvert',
Expand Down
Loading

0 comments on commit 7091961

Please sign in to comment.