blob: f7bcc9e5aaaa085c796e659e347a0031e701dac3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
using System;
using Org.BouncyCastle.Math;
namespace Org.BouncyCastle.Crypto
{
public interface IRsa
{
void Init(bool forEncryption, ICipherParameters parameters);
int GetInputBlockSize();
int GetOutputBlockSize();
BigInteger ConvertInput(byte[] buf, int off, int len);
BigInteger ProcessBlock(BigInteger input);
byte[] ConvertOutput(BigInteger result);
}
}
|