init commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user