diff options
| author | Donald Stufft <donald@stufft.io> | 2013-08-10 18:33:00 -0400 |
|---|---|---|
| committer | Donald Stufft <donald@stufft.io> | 2013-08-10 18:33:00 -0400 |
| commit | a46ad0e09ab93114a9433ff69777e8952b37fdcd (patch) | |
| tree | a243e7d486d13c9be92b1e5f9a8b63b0dc73e0f5 | |
| parent | 32c51a3fe2f52eb797cdfcd300757dbf7e191f11 (diff) | |
| download | cryptography-a46ad0e09ab93114a9433ff69777e8952b37fdcd.tar.gz cryptography-a46ad0e09ab93114a9433ff69777e8952b37fdcd.tar.bz2 cryptography-a46ad0e09ab93114a9433ff69777e8952b37fdcd.zip | |
Ciphers should know what size blocks they use
| -rw-r--r-- | cryptography/primitives/block/ciphers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cryptography/primitives/block/ciphers.py b/cryptography/primitives/block/ciphers.py index 17e7765a..3d76afa0 100644 --- a/cryptography/primitives/block/ciphers.py +++ b/cryptography/primitives/block/ciphers.py @@ -14,6 +14,7 @@ class AES(object): name = "AES" + block_size = 128 key_sizes = set([128, 192, 256]) def __init__(self, key): |
