---
id: "yescrypt_hash"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["secrets", "cryptography"]
langs: ["common"]
quality: 68
url: "http://registry.apicrafter.io/datatype/yescrypt_hash"
---

# yescrypt password hash (`yescrypt_hash`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Password hash of yescrypt, the scrypt-based scheme by Openwall that is the default in /etc/shadow on recent releases of Debian, Ubuntu and Fedora, in Modular Crypt Format: $y$, the encoded parameters (j9T for the common defaults), $, the salt, $ and 43 characters of crypt Base64.

- Personal data (PII): no
- Categories: Secrets and credentials (passwords, keys, tokens) (secrets), Cryptographic identifiers (cryptography)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\$y\$[./A-Za-z0-9]+\$[./A-Za-z0-9]{0,86}\$[./A-Za-z0-9]{43}$
```

## Examples

- `$y$j9T$ZVLMh/5PZBLMgF5$/1rXWcrKaeN6YWKzR1LbhwrY1sBgM9R1a4daQyX/.z/` — Hash of the word "example" with the salt examplesalt and the default parameters
- `$6$saltstring$svn8UoSVapNtMuq1ukKS4tPQd8iKwSMHWjl/O817G3uBnIFNjnQJuesI68u4OTLiBFdcbYEdFCoEOfaS35inz1` (invalid example) — SHA-512-crypt hash

## Sources

- other: <https://www.openwall.com/yescrypt/>
- doc: <https://man.archlinux.org/man/crypt.5>

## Quality

Score 68/100. Missing: second example, mapping (Wikidata, Schema.org, ...), translation, detector coverage.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/yescrypt_hash.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/yescrypt_hash.yaml>
