forked from p15670423/monkey
Island: Remove unnecessary type from docstring in KeyBasedEncryptor
This commit is contained in:
parent
061c002c94
commit
3794f735af
|
@ -21,8 +21,7 @@ class KeyBasedEncryptor(IEncryptor):
|
||||||
def __init__(self, key: EncryptionKey32Bytes):
|
def __init__(self, key: EncryptionKey32Bytes):
|
||||||
"""
|
"""
|
||||||
Initializes a KeyBasedEncryptor object
|
Initializes a KeyBasedEncryptor object
|
||||||
:param EncryptionKey32Bytes key: The encryption key with which the object should be
|
:param key: The encryption key with which the object should be initialized.
|
||||||
initialized.
|
|
||||||
"""
|
"""
|
||||||
formatted_key = base64.urlsafe_b64encode(key)
|
formatted_key = base64.urlsafe_b64encode(key)
|
||||||
self._fernet = Fernet(formatted_key)
|
self._fernet = Fernet(formatted_key)
|
||||||
|
|
Loading…
Reference in New Issue