summaryrefslogtreecommitdiff
path: root/rsa/pkcs1_v2.py
diff options
context:
space:
mode:
authorAndrey Semakin <and-semakin@ya.ru>2019-11-04 18:35:23 +0500
committerSybren A. Stüvel <sybren@stuvel.eu>2020-06-03 13:43:27 +0200
commitae1a906952557f616706f79c66030fd812e48cdf (patch)
tree8b5d9f4051d72936f0b6fb4e2048d20282a34ab4 /rsa/pkcs1_v2.py
parent1473cb8599c44cffad56cecbe32c467d64f00247 (diff)
downloadrsa-git-ae1a906952557f616706f79c66030fd812e48cdf.tar.gz
Add more type hints
Diffstat (limited to 'rsa/pkcs1_v2.py')
-rw-r--r--rsa/pkcs1_v2.py2
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.