Download data/diffs/s10.diff from AriaAICompany/code-review-lab: direct link, hf CLI and curl.
- Browser
- Download file 340 Bytes
-
https://huggingface.co/datasets/AriaAICompany/code-review-lab/resolve/main/data/diffs/s10.diff
- Command line
-
hf download hf://datasets/AriaAICompany/code-review-lab/data/diffs/s10.diff
-
curl -L -o s10.diff https://huggingface.co/datasets/AriaAICompany/code-review-lab/resolve/main/data/diffs/s10.diff
340 Bytes
| diff --git a/payments-api/passwords.py b/payments-api/passwords.py | |
| --- a/payments-api/passwords.py | |
| +++ b/payments-api/passwords.py | |
| """Lab password store for payments-api. Synthetic.""" | |
| +import hashlib | |
| + | |
| def store_password(password): | |
| - return password | |
| + return hashlib.md5(password.encode()).hexdigest() | |