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.
 
 
 
 
 
 

18 lines
412 B

using System;
using Org.BouncyCastle.Security;
namespace Org.BouncyCastle.Crypto
{
public interface IWrapper
{
/// <summary>The name of the algorithm this cipher implements.</summary>
string AlgorithmName { get; }
void Init(bool forWrapping, ICipherParameters parameters);
byte[] Wrap(byte[] input, int inOff, int length);
byte[] Unwrap(byte[] input, int inOff, int length);
}
}