summaryrefslogtreecommitdiff
path: root/paramiko/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'paramiko/util.py')
-rw-r--r--paramiko/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/util.py b/paramiko/util.py
index 07892cb1..9d9b0064 100644
--- a/paramiko/util.py
+++ b/paramiko/util.py
@@ -149,10 +149,10 @@ def generate_key_bytes(hash_alg, salt, key, nbytes):
:param function hash_alg: A function which creates a new hash object, such
as ``hashlib.sha256``.
:param salt: data to salt the hash with.
- :type salt: byte string
+ :type bytes salt: Hash salt bytes.
:param str key: human-entered password or passphrase.
:param int nbytes: number of bytes to generate.
- :return: Key data `str`
+ :return: Key data, as `bytes`.
"""
keydata = bytes()
digest = bytes()