diff options
Diffstat (limited to 'rsa/pkcs1_v2.py')
-rw-r--r-- | rsa/pkcs1_v2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rsa/pkcs1_v2.py b/rsa/pkcs1_v2.py index db94f87..f780aff 100644 --- a/rsa/pkcs1_v2.py +++ b/rsa/pkcs1_v2.py @@ -25,7 +25,7 @@ from rsa import ( ) -def mgf1(seed: bytes, length: int, hasher='SHA-1') -> bytes: +def mgf1(seed: bytes, length: int, hasher: str = 'SHA-1') -> bytes: """ MGF1 is a Mask Generation Function based on a hash function. |