diff options
-rw-r--r-- | cryptography/primitives/block/base.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cryptography/primitives/block/base.py b/cryptography/primitives/block/base.py index f4a04b35..b4137fd4 100644 --- a/cryptography/primitives/block/base.py +++ b/cryptography/primitives/block/base.py @@ -13,15 +13,15 @@ from __future__ import absolute_import, division, print_function -# TODO: which binding is used should be an option somewhere from enum import Enum +# TODO: which binding is used should be an option somewhere from cryptography.bindings.openssl import api class _Operation(Enum): - encrypt = "encrypt" - decrypt = "decrypt" + encrypt = 0 + decrypt = 1 class BlockCipher(object): |