Skip to content

Commit

Permalink
Merge branch 'bugfix/issue#68-use-pycryptodome' into pycryptodome
Browse files Browse the repository at this point in the history
  • Loading branch information
koolfy authored Mar 13, 2022
2 parents f76cb15 + 9b382ef commit 6914b2e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/potr/compatcrypto/pycrypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this library. If not, see <http://www.gnu.org/licenses/>.


from Cryptodome import Cipher
from Cryptodome.Hash import HMAC as _HMAC
from Cryptodome.Hash import SHA256 as _SHA256
Expand All @@ -24,6 +25,13 @@
from Cryptodome.Signature import DSS
from Cryptodome.Util import Counter

try:
import Crypto
except ImportError:
import crypto as Crypto

from Crypto import Cipher

from numbers import Number

from potr.compatcrypto import common
Expand Down

0 comments on commit 6914b2e

Please sign in to comment.