Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Structs X25519PrivateKey

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module 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);
    
}

Aliases

Name Description
__xdtor
__xpostblit

Functions

Name Description
deriveSharedSecret
fromCopyingBytes
generate
getPublicKey
opAssign

ON THIS PAGE