# Static ring::agreement::X25519 [−] [src]

    pub static X25519: Algorithm = agreement::Algorithm{i:
                             ec::AgreementAlgorithmImpl{curve: &CURVE25519,
                                                        ecdh: x25519_ecdh,},}

X25519 (ECDH using Curve25519) as described in RFC 7748.

Everything is as described in RFC 7748. Key agreement will fail if the result of the X25519 operation is zero; see the notes on the "all-zero value" in RFC 7748 section 6.1.

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)