Files
SuperVPN/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/KdfParameters.cs
2025-10-09 09:57:24 +09:00

25 lines
342 B
C#

namespace Org.BouncyCastle.Crypto.Parameters;
public class KdfParameters : IDerivationParameters
{
private byte[] iv;
private byte[] shared;
public KdfParameters(byte[] shared, byte[] iv)
{
this.shared = shared;
this.iv = iv;
}
public byte[] GetSharedSecret()
{
return shared;
}
public byte[] GetIV()
{
return iv;
}
}