diff options
-rw-r--r-- | cryptography/primitives/block/ciphers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptography/primitives/block/ciphers.py b/cryptography/primitives/block/ciphers.py index 2e478705..cf54aa35 100644 --- a/cryptography/primitives/block/ciphers.py +++ b/cryptography/primitives/block/ciphers.py @@ -25,7 +25,7 @@ class AES(object): # Verify that the key size matches the expected key size if self.key_size not in self.key_sizes: - raise ValueError("Invalid key size (%s) for %s".format( + raise ValueError("Invalid key size ({0}) for {1}".format( self.key_size, self.name )) |