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