1 parent ce218fa commit a91af75Copy full SHA for a91af75
1 file changed
pyiceberg/encryption/ciphers.py
@@ -40,7 +40,7 @@ class AesKeySize(IntEnum):
40
@property
41
def key_length(self) -> int:
42
"""Return the key length in bytes."""
43
- return self // 8
+ return self.value // 8
44
45
@classmethod
46
def from_key_length(cls, key_length: int) -> AesKeySize:
0 commit comments