16 lines
451 B
C#
16 lines
451 B
C#
|
namespace Obfuz.EncryptionVM
|
|||
|
{
|
|||
|
public interface IEncryptionInstruction
|
|||
|
{
|
|||
|
int Encrypt(int value, int[] secretKey, int salt);
|
|||
|
|
|||
|
int Decrypt(int value, int[] secretKey, int salt);
|
|||
|
}
|
|||
|
|
|||
|
public abstract class EncryptionInstructionBase : IEncryptionInstruction
|
|||
|
{
|
|||
|
public abstract int Encrypt(int value, int[] secretKey, int salt);
|
|||
|
public abstract int Decrypt(int value, int[] secretKey, int salt);
|
|||
|
}
|
|||
|
}
|