12345678910111213141516171819202122232425module juptune.crypto.keyexchange;
struct X25519PrivateKey
{
/++ ALIASES ++/
///
alias __xdtor = __MARMOS_BUG__;
///
alias __xpostblit = __MARMOS_BUG__;
/++ FUNCTIONS ++/
///
Result deriveSharedSecret(X25519PublicKey peer, ubyte[] keyBytes);
///
static Result fromCopyingBytes(const ubyte[] bytes, X25519PrivateKey key);
///
static Result generate(X25519PrivateKey key);
///
Result getPublicKey(ubyte[] keyBytes);
///
X25519PrivateKey opAssign(X25519PrivateKey p);
}
| Name | Description |
|---|---|
| __xdtor | |
| __xpostblit |
| Name | Description |
|---|---|
| deriveSharedSecret | |
| fromCopyingBytes | |
| generate | |
| getPublicKey | |
| opAssign |