ID EN
Hashlib

scrypt

Python 3.11

The function provides scrypt password-based key derivation function as defined in RFC 7914.

Syntax

PYTHON
hashlib.scrypt(password, *, salt, n, r, p, maxmem=0, dklen=64)

See Also

bytes-like objects os.urandom()