Skip to content

Conversation

ironboxer
Copy link

@ironboxer ironboxer commented Jun 12, 2024

before

from Crypto.Cipher import AES

after

from Cryptodome.Cipher import AES

reason

pycryptodome 原本用来平替 pycrypto, 但是依然存在各种新旧版本兼容性的问题。
所以推出了 pycryptodomex, 强制要求 使用 Cryptodome 作为开头。

pythonic

import this
...
Explicit is better than implicit.
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant