# Move PBKDF2 to a pwhash category, clarify what that category is · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/c8cd6145ac2475e298a3d3b2082e1966fda811d5)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: c8cd6145ac2475e298a3d3b2082e1966fda811d5

Requested commit: c8cd6145ac2475e298a3d3b2082e1966fda811d5

Commit: c8cd6145ac2475e298a3d3b2082e1966fda811d5

Tree: c5800c01e99fdd4e6ee58969934655d4a544139d

Author: Frank Denis

Committer: Andrew Kelley

## Message

```
Move PBKDF2 to a pwhash category, clarify what that category is

Password hashing functions are not general-purpose KDFs, and KDFs
don't have to satisfy the same properties as a PHF.

This will allow fast KDFs such as the HKDF construction to be in a
category of their own, while clarifying what functions are suitable
for using passwords as inputs.

```

## Parents

- [72f4cdb2b4221658b4c85b33394377081ffae6bb](https://git.cafe/gitcafe/zig/commit/72f4cdb2b4221658b4c85b33394377081ffae6bb?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/c8cd6145ac2475e298a3d3b2082e1966fda811d5?format=markdown)
