Fix decryption bug

master
Tanner Collin 5 years ago
parent 4400455769
commit e0c9dfd2ad
  1. 2
      bwb/common.py
  2. 2
      setup.py

@ -88,7 +88,7 @@ class common:
return False
try:
ciphertext = base58.b58decode(ciphertext)
ciphertext = base58.b58decode(ciphertext[1:])
key = SHA256.new(self.secret.encode()).digest()
iv = ciphertext[:4]
ct = ciphertext[4:]

@ -5,7 +5,7 @@ with io.open('README.md', encoding='utf-8') as fh:
long_description = fh.read()
setuptools.setup(name='bwb',
version='1.0.7',
version='1.0.8',
description='bwb',
long_description=long_description,
long_description_content_type='text/markdown',

Loading…
Cancel
Save