# std.crypto: add hybrid post-quantum/traditional key encapsulation · gitcafe/zig

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

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

Visibility: public

Requested revision: ca96d853ffaceae85f8038bb3abb6ca188c0a3e1

Requested commit: ca96d853ffaceae85f8038bb3abb6ca188c0a3e1

Commit: ca96d853ffaceae85f8038bb3abb6ca188c0a3e1

Tree: 83d935255a7cbda1ae15927f67c73060cea32aab

Author: Frank Denis

Committer: Frank Denis

## Message

```
std.crypto: add hybrid post-quantum/traditional key encapsulation

Hybrid KEMs combine a post-quantum secure KEM with a traditional
elliptic curve Diffie-Hellman key exchange.

The hybrid construction provides security against both classical and quantum
adversaries: even if one component is broken, the combined scheme remains
secure as long as the other component holds.

The implementation follows the IETF CFRG draft specification for concrete
hybrid KEMs:

https://datatracker.ietf.org/doc/draft-irtf-cfrg-concrete-hybrid-kems/

```

## Parents

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

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