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 6242a71..b751399 100644 --- a/rsa/pkcs1_v2.py +++ b/rsa/pkcs1_v2.py @@ -27,7 +27,7 @@ from rsa import ( ) -def mgf1(seed, length, hasher='SHA-1'): +def mgf1(seed: bytes, length: int, hasher='SHA-1') -> bytes: """ MGF1 is a Mask Generation Function based on a hash function. |