# std.crypto.bcrypt: implement the actual OpenSSH KDF \(\#22027\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 73dcd1914071984c5a2e7c195212404824dbfb9e

Requested commit: 73dcd1914071984c5a2e7c195212404824dbfb9e

Commit: 73dcd1914071984c5a2e7c195212404824dbfb9e

Tree: c462d742c62749c18f4e2f594e96de11e9a7de2e

Author: Frank Denis

Committer: GitHub

## Message

```
std.crypto.bcrypt: implement the actual OpenSSH KDF (#22027)

They way OpenSSH does key derivation to protect keys using a password
is not the standard PBKDF2, but something funky, picking key material
non-linearly.

```

## Parents

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

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