diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2018-05-16 10:42:10 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2018-05-16 10:42:10 -0400 |
commit | 20b57be8d8068c2cd05cd3917e4e99b8a36debe0 (patch) | |
tree | 14a88fa023bac0dff5b59c79205d1ae0c8eb2aa9 /src | |
parent | b6cfb331db882a0c2a2d66714e2bd653716959f9 (diff) | |
download | cryptography-20b57be8d8068c2cd05cd3917e4e99b8a36debe0.tar.gz cryptography-20b57be8d8068c2cd05cd3917e4e99b8a36debe0.tar.bz2 cryptography-20b57be8d8068c2cd05cd3917e4e99b8a36debe0.zip |
remove block size as a required part of HashAlgorithm (#4249)
Internal block size isn't a particularly useful piece of information and
constructions like SHA3 make it even harder to determine what that
really means. Accordingly, we're removing it from the interface (but
leaving it on all existing hashes)
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptography/hazmat/primitives/hashes.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/cryptography/hazmat/primitives/hashes.py b/src/cryptography/hazmat/primitives/hashes.py index 1764e9ce..3f3aadd6 100644 --- a/src/cryptography/hazmat/primitives/hashes.py +++ b/src/cryptography/hazmat/primitives/hashes.py @@ -29,12 +29,6 @@ class HashAlgorithm(object): The size of the resulting digest in bytes. """ - @abc.abstractproperty - def block_size(self): - """ - The internal block size of the hash algorithm in bytes. - """ - @six.add_metaclass(abc.ABCMeta) class HashContext(object): |