We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b3c98f7 + 65d4aa4 commit 67d942eCopy full SHA for 67d942e
src/potr/compatcrypto/pycrypto.py
@@ -15,6 +15,11 @@
15
# You should have received a copy of the GNU Lesser General Public License
16
# along with this library. If not, see <http://www.gnu.org/licenses/>.
17
18
+try:
19
+ import Crypto
20
+except ImportError:
21
+ import crypto as Crypto
22
+
23
from Crypto import Cipher
24
from Crypto.Hash import SHA256 as _SHA256
25
from Crypto.Hash import SHA as _SHA1
0 commit comments