MCPcopy Index your code
hub / github.com/RustCrypto/PAKEs

github.com/RustCrypto/PAKEs @spake2-v0.4.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release spake2-v0.4.0 ↗ · + Follow
252 symbols 662 edges 30 files 83 documented · 33%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

RustCrypto: PAKEs dependency status

Password-Authenticated Key Agreement protocols implementation.

Warnings

Crates in this repository have not yet received any formal cryptographic and security reviews.

No efforts were yet taken in regards of blinding or erasing secrets from the memory.

USE AT YOUR OWN RISK.

Supported algorithms

Name Crates.io Documentation
SRP crates.io Documentation
spake2 crates.io Documentation
aucpace crates.io Documentation

License

All crates are licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Extension points exported contracts — how you extend this code

Database (Interface)
trait for AuCPace to use to abstract over the storage and retrieval of verifiers [5 implementers]
aucpace/src/database.rs
Group (Interface)
Group trait. TODO(tarcieri): replace with `group` crate? [1 implementers]
spake2/src/group.rs
PartialAugDatabase (Interface)
(no doc) [4 implementers]
aucpace/src/database.rs
StrongDatabase (Interface)
(no doc) [4 implementers]
aucpace/src/database.rs

Core symbols most depended-on inside this repo

begin
called by 24
aucpace/src/server.rs
agree_ssid
called by 24
aucpace/src/server.rs
finish
called by 19
spake2/src/lib.rs
begin_prestablished_ssid
called by 17
aucpace/src/server.rs
implicit_auth
called by 17
aucpace/src/server.rs
generate_public_key
called by 16
aucpace/src/server.rs
as_ref
called by 16
aucpace/examples/key_agreement.rs
receive_client_pubkey
called by 13
aucpace/src/server.rs

Shape

Method 118
Function 85
Class 39
Enum 6
Interface 4

Languages

Rust100%

Modules by API surface

aucpace/src/client.rs37 symbols
aucpace/src/server.rs35 symbols
spake2/src/lib.rs28 symbols
spake2/src/ed25519.rs17 symbols
aucpace/src/utils.rs15 symbols
srp/src/client.rs14 symbols
aucpace/tests/test_key_agreement_strong_partial_aug.rs11 symbols
aucpace/tests/test_key_agreement_partial_aug.rs11 symbols
srp/src/server.rs10 symbols
aucpace/tests/test_key_agreement_strong.rs9 symbols
aucpace/tests/test_key_agreement.rs9 symbols
aucpace/examples/key_agreement_partial_aug.rs9 symbols

For agents

$ claude mcp add PAKEs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page