Difference to cryptography
module?
#693
-
Why do both Both have the same sales pitch - a self-contained package of cryptographic primitives. Context: I'm adding some decryption functionality to a project and can't decide which module to use. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
One of the main differences is that |
Beta Was this translation helpful? Give feedback.
One of the main differences is that
cryptography
uses openssl as a backend whereas pycryptodome has no dependencies. According to pycrypto's website,cryptography
is "recommended for new applications" and has a "newer API with fewer gotchas", whilepycryptodome
is "recommended for existing software that depends on PyCrypto" and is a "fork of PyCrypto. Most applications should run unmodified.". So the question becomes, is openssl an asset or a liability?