mirror of
				https://github.com/esiur/esiur-dotnet.git
				synced 2025-10-30 15:41:35 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			334 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			334 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Text;
 | |
| 
 | |
| namespace Esiur.Security.Cryptography
 | |
| {
 | |
|     public interface ISymetricCipher
 | |
|     {
 | |
|         public ushort Identifier { get; }
 | |
|         public byte[] Encrypt(byte[] data);
 | |
|         public byte[] Decrypt(byte[] data);
 | |
|         public byte[] SetKey(byte[] key);
 | |
|     }
 | |
| }
 |