Change the seed size in SecretKeyFactory from 64 to 32 bytes

pull/272/head
Bogdan Opanchuk 2021-07-19 14:15:15 -07:00
parent 2e046fd181
commit d6d3a272a7
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ class SecretKeyFactory(SerializableSecret, Deserializable):
Don't use this key material directly as a key.
"""
_KEY_SEED_SIZE = 64
_KEY_SEED_SIZE = 32
_DERIVED_KEY_SIZE = 64
def __init__(self, key_seed: bytes):