You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
485 B
27 lines
485 B
using System;
|
|
|
|
using Org.BouncyCastle.Math;
|
|
|
|
namespace Org.BouncyCastle.Crypto.Parameters
|
|
{
|
|
public sealed class Srp6GroupParameters
|
|
{
|
|
private readonly BigInteger n, g;
|
|
|
|
public Srp6GroupParameters(BigInteger N, BigInteger g)
|
|
{
|
|
this.n = N;
|
|
this.g = g;
|
|
}
|
|
|
|
public BigInteger G
|
|
{
|
|
get { return g; }
|
|
}
|
|
|
|
public BigInteger N
|
|
{
|
|
get { return n; }
|
|
}
|
|
}
|
|
}
|
|
|