Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
BrainpoolP224.cs
1using System.Globalization;
2using System.Numerics;
3
5{
11 {
12 private static readonly BigInteger p0 = BigInteger.Parse("0D7C134AA264366862A18302575D1D787B09F075797DA89F57EC8C0FF", NumberStyles.HexNumber);
13 private static readonly BigInteger a = BigInteger.Parse("068A5E62CA9CE6C1C299803A6C1530B514E182AD8B0042A59CAD29F43", NumberStyles.HexNumber);
14 private static readonly BigInteger b = BigInteger.Parse("02580F63CCFE44138870713B1A92369E33E2135D266DBB372386C400B", NumberStyles.HexNumber);
15 private static readonly BigInteger x = BigInteger.Parse("00D9029AD2C7E5CF4340823B2A87DC68C9E4CE3174C1E6EFDEE12C07D", NumberStyles.HexNumber);
16 private static readonly BigInteger y = BigInteger.Parse("058AA56F772C0726F24C6B89E4ECDAC24354B9E99CAA3F6D3761402CD", NumberStyles.HexNumber);
17 private static readonly BigInteger q = BigInteger.Parse("0D7C134AA264366862A18302575D0FB98D116BC4B6DDEBCA3A5A7939F", NumberStyles.HexNumber);
18
24 : base(p0, new PointOnCurve(x, y), a, b, q)
25 {
26 }
27
33 public BrainpoolP224(byte[] Secret)
34 : base(p0, new PointOnCurve(x, y), a, b, q, Secret)
35 {
36 }
37
43 public BrainpoolP224(uint[] Secret)
44 : base(p0, new PointOnCurve(x, y), a, b, q, Secret)
45 {
46 }
47
51 public override string CurveName => "Brainpool P-224";
52
53 }
54}
Brainpool P-224 Elliptic Curve, as defined in RFC5639: https://datatracker.ietf.org/doc/html/rfc5639
BrainpoolP224(uint[] Secret)
Brainpool P-224 Elliptic Curve, as defined in RFC5639: https://datatracker.ietf.org/doc/html/rfc5639
BrainpoolP224(byte[] Secret)
Brainpool P-224 Elliptic Curve, as defined in RFC5639: https://datatracker.ietf.org/doc/html/rfc5639
BrainpoolP224()
Brainpool P-224 Elliptic Curve, as defined in RFC5639: https://datatracker.ietf.org/doc/html/rfc5639
override string CurveName
Name of curve.
Base class of Elliptic curves over a prime field defined by Brainpool.
Represents a point on a curve.
Definition: PointOnCurve.cs:10