Content deleted Content added
m Removing from Category:Cryptography because it is already in child cat using Cat-a-lot |
|||
Line 60:
=== Example code ===
Below is
<syntaxhighlight lang="python">
Line 66:
def mgf1(seed: bytes, length: int, hash_func=hashlib.sha1) -> bytes:
"""Mask generation function."""
hLen = hash_func().digest_size
# https://www.ietf.org/rfc/rfc2437.txt
|