diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/development/custom-vectors/cast5/generate_cast5.py | 2 | ||||
-rw-r--r-- | docs/development/custom-vectors/idea/generate_idea.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/development/custom-vectors/cast5/generate_cast5.py b/docs/development/custom-vectors/cast5/generate_cast5.py index 9dd241c1..6a4acdad 100644 --- a/docs/development/custom-vectors/cast5/generate_cast5.py +++ b/docs/development/custom-vectors/cast5/generate_cast5.py @@ -16,7 +16,7 @@ from __future__ import absolute_import, division, print_function import binascii from cryptography.hazmat.backends import default_backend -from cryptography.hazmat.primitives.ciphers import base, algorithms, modes +from cryptography.hazmat.primitives.ciphers import algorithms, base, modes def encrypt(mode, key, iv, plaintext): diff --git a/docs/development/custom-vectors/idea/generate_idea.py b/docs/development/custom-vectors/idea/generate_idea.py index 70b9f87f..c9f94024 100644 --- a/docs/development/custom-vectors/idea/generate_idea.py +++ b/docs/development/custom-vectors/idea/generate_idea.py @@ -1,7 +1,7 @@ import binascii from cryptography.hazmat.backends.openssl.backend import backend -from cryptography.hazmat.primitives.ciphers import base, algorithms, modes +from cryptography.hazmat.primitives.ciphers import algorithms, base, modes def encrypt(mode, key, iv, plaintext): |