#key-exchange #mechanism #encapsulation #pake #kem #password-authenticated

pake-kem

An implementation of a password-authenticated key exchange (PAKE) based from a key encapsulation mechanism (KEM)

4 releases

0.1.0-pre.4 Oct 23, 2024
0.1.0-pre.3 Oct 15, 2024
0.1.0-pre.2 Oct 14, 2024
0.1.0-pre.1 Oct 10, 2024

#864 in Cryptography

Download history 383/week @ 2024-10-09 264/week @ 2024-10-16 361/week @ 2024-10-23 111/week @ 2024-10-30

1,119 downloads per month

MIT/Apache

58KB
971 lines

pake-kem Build Status

An implementation of a password-authenticated key exchange (PAKE) based from a key encapsulation mechanism (KEM).

⚠️ Warning: This implementation has not been audited. Use at your own risk!

Documentation

The API can be found here along with an example for usage.

Installation

Add the following line to the dependencies of your Cargo.toml:

pake-kem = "0.1.0-pre.4"

Contributors

The original author of this code is Kevin Lewi (@kevinlewi). To learn more about contributing to this project, see this document.

Acknowledgments

The author would like to thank Michael Rosenberg (@rozbb) for the initial discussions which helped lead to the creation of this library.

License

This project is dual-licensed under either the MIT license or the Apache License, Version 2.0. You may select, at your option, one of the above-listed licenses.

Dependencies

~3–4.5MB
~75K SLoC