Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
NistEndpoint.cs
3
5{
9 public abstract class NistEndpoint : EllipticCurveEndpoint
10 {
16 : base(Curve, new Aes256())
17 {
18 }
19
26 : base(Curve, SymmetricCipher)
27 {
28 }
29
35 public NistEndpoint(byte[] PublicKey, EllipticCurve ReferenceCurve)
36 : base(PublicKey, ReferenceCurve, new Aes256())
37 {
38 }
39
46 public NistEndpoint(byte[] PublicKey, EllipticCurve ReferenceCurve,
47 IE2eSymmetricCipher SymmetricCipher)
48 : base(PublicKey, ReferenceCurve, SymmetricCipher)
49 {
50 }
51
55 public override bool Safe => false; // Ref: http://safecurves.cr.yp.to/
56
60 public override bool Slow => true;
61
62 }
63}
Abstract base class for Elliptic Curve endpoints.
Abstract base class for NIST Curve endpoints
Definition: NistEndpoint.cs:10
NistEndpoint(EllipticCurve Curve, IE2eSymmetricCipher SymmetricCipher)
Abstract base class for NIST Curve endpoints
Definition: NistEndpoint.cs:25
NistEndpoint(byte[] PublicKey, EllipticCurve ReferenceCurve)
Abstract base class for NIST Curve endpoints
Definition: NistEndpoint.cs:35
override bool Safe
If endpoint is considered safe (i.e. there are no suspected backdoors)
Definition: NistEndpoint.cs:55
NistEndpoint(byte[] PublicKey, EllipticCurve ReferenceCurve, IE2eSymmetricCipher SymmetricCipher)
Abstract base class for NIST Curve endpoints
Definition: NistEndpoint.cs:46
NistEndpoint(EllipticCurve Curve)
Abstract base class for NIST Curve endpoints
Definition: NistEndpoint.cs:15
override bool Slow
If implementation is slow, compared to other options.
Definition: NistEndpoint.cs:60
Implements support for the AES-256 cipher in hybrid End-to-End encryption schemes.
Definition: Aes256.cs:17
Abstract base class for elliptic curves.
Interface for symmetric ciphers.